这是indexloc提供的服务,不要输入任何密码
Skip to content

basujindal/GeoMagicTouch-3ds-USB

Repository files navigation

This repository has been forked from the following three repositories:

  1. Francisco Suárez Ruiz, http://fsuarez6.github.io for the Sensable PHANToM haptic device (https://github.com/fsuarez6/phantom_omni)

  2. Bharat Mathur https://github.com/bharatm11

  3. By Johns Hopkins University https://github.com/jhu-cisst-external

ROS packages developed by the Group of Robots and Intelligent Machines from the Universidad Politécnica de Madrid. This group is part of the Centre for Automation and Robotics (CAR UPM-CSIC).


Introduction

The goal of this repository is to facilitate the installation of:

  1. GeoMagic/3DS Touch hapic device drivers (USB or Ethernet based)
  2. OpenHaptics SDK (education version)
  3. ROS Drivers to communcate with the device on Ubuntu 18.04.

This was successfuly tested on Ubuntu 18.04 LTS 64 bits (Both VirtualBox and Bare Metal Installation) with ROS Melodic. (It didn't work for me on Ubuntu 20.04).

Step-1) Install OpenHaptics SDK and GeoMagic/3DS Touch hapic device drivers

The 4 scripts provided in the scripts folder will perform most of the steps required to download/install OR un-install the files required for the Touch drivers as well as the OpenHaptics SDK.

  • Install the OpenHaptics SDK using source scripts/install-3ds-openhaptics-3.4.sh
  • Install the Touch Drivers using source scripts/install-3ds-touch-drivers-2019.sh

Notes

Step-2) Install 3D Systems Geomagic Touch ROS Driver

  1. Retart the PC after running the scripts
  2. Install the Dependencies
sudo apt-get install --no-install-recommends freeglut3-dev g++ libdrm-dev libexpat1-dev libglw1-mesa libglw1-mesa-dev libmotif-dev libncurses5-dev libraw1394-dev libx11-dev libxdamage-dev libxext-dev libxt-dev libxxf86vm-dev tcsh unzip x11proto-dri2-dev x11proto-gl-dev x11proto-print-dev
  1. Device setup
  • The haptic device creates a COM Port as /dev/ttyACM0 and requires admin priviliges sudo chmod 777 /dev/ttyACM0. It may create a COM port with a diffferent name such as /dev/ttyACM0. Run ls /dev to check the available ports and change accordingly.

  • Now run Touch_Setup and ensure that the device serial number is displayed. Also click on 'Apply' followed by 'Ok' buttons in the Touch Setup GUI to initialize the device.

  1. Run Touch_Diagnostic. This can be used to calibrate the device, read encoders, apply test forces etc.

  2. Build the ROS Package by running catkin_make command inside this repo

  3. Finally, run these commands everytime you need to launch the ROS Node

sudo chmod 777 /dev/ttyACM0 && source devel/setup.bash && roslaunch omni_common omni_state.launch
  1. Data from the haptic device can be read from the following rostopics ( rostopic list):

/phantom/button

/phantom/force_feedback

/phantom/joint_states

/phantom/pose

/phantom/state

eg: rostopic echo /phantom/pose

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published