Adjuvo / senseglove_ros_ws

Implementation of the standard SenseGlove API into an example ros_workspace. The workspace features a few publishing topics where users can find glove_pose positions, fingertip_positions, glove_angles, etc. Integration with ROS Control for Force Feedback and Vibration.
7 stars 7 forks source link

Finger distance calibration for Nova 2 #31

Open jkaniuka opened 3 days ago

jkaniuka commented 3 days ago

According to README.md "Finger distance calibration is currently implemented/validated for only the DK1 gloves". I have Nova 2 glove and below I described what has to be changed in order to use calibration for Nova 2. The only change is the name of topic we subscribe to (line 108).

Before changes:

topic_name = str(self.handedness_list[int(self.glove_nr) % 2]) + '/senseglove/finger_distances'
# For left Nova 2 glove it's: /lh/senseglove/finger_distances

After topic name adjustment:

topic_name = '/senseglove/0/lh/finger_distances'