start-jsk / rtmros_tutorials

Tutorials for rtmros packages
6 stars 61 forks source link

[hironx_tutorial/hironxjsk_real.launch]publish real hand joint state #620

Open YUKINA-3252 opened 5 months ago

YUKINA-3252 commented 5 months ago

Previously the states of hand joint were published as dummy angles using hand_joint_state_publisher.py and do not follow the real state. In this PR, hand-joint-state-publisher.l publishes the real hand-joint states. The real states are published if you set publish_real_hand_joint_state to true in a launch file. The real_hand_joint_state_rate sets the publish rate. The actual angles followed are shown below. In this experiment, the actual robot is taking the start-grasp pose.

(before)The hand displayed in rviz does not reflect the actual angle, but always displays the angle published in dummy. Screenshot from 2024-01-23 12-04-29

(after)The hand displayed in rviz now reflects the actual angle. Screenshot from 2024-01-23 12-01-03