SAW wrapper for Haply Inverse3 haptic devices. This repository provides a core component as well as:
- Example application with Qt based GUI
- ROS node (also with Qt based GUI)
- License: http://github.com/jhu-cisst/cisst/blob/master/license.txt
- JHU-LCSR software: http://jhu-lcsr.github.io/software/
- cisst libraries: https://github.com/jhu-cisst/cisst
- Haply Service: The Haply service must be running and accessible via WebSockets (default:
ws://localhost:10001). - Qt for user interface
- ROS and ROS CRTK (optional) - works with ROS 1 and ROS 2!
See https://github.com/jhu-saw/vcs for download and build instructions.
The main example provided is sawHaplyServiceQtExample. The command line options are:
sawHaplyServiceQtExample:
-j <value>, --json-config <value> : json configuration file (optional)
-m, --component-manager : JSON files to configure component manager (optional)
-D, --dark-mode : replaces the default Qt palette with darker colors (optional)To run the example with a configuration file, use:
sawHaplyServiceQtExample -j myconfig.jsonA default configuration file is installed in the share directory (share/sawHaplyService/sawHaplyService-config.json).
If you also want to use the ROS node for ROS 1, run:
rosrun haply haplyFor ROS 2, run:
ros2 run haply haplyBesides ROS, the Haply component can also stream data to your application using the sawOpenIGTLink or sawSocketStreamer components. See: