Robotics StackExchange | Archived questions

how plot x , y , z position using rqt_plot /joint_states/position[3] ??

hi . how plot x , y , z position of joint 3 using rqtplot /jointstates/position[3] ??

Asked by zakizadeh on 2017-03-07 14:59:14 UTC

Comments

Answers

JointState messages only contain joint states, ie: joint poses in joint space. They do not represent Cartesian coordinates. So position[3] is not z, but the joint space position of joint 4 (it's zero-indexed).

Asked by gvdhoorn on 2017-03-07 15:06:31 UTC

Comments

thanks . how can i plot Cartesian coordinates in rqt ?? do you have example for that ?

Asked by zakizadeh on 2017-03-08 01:10:37 UTC

The simplest way to get those values is to write a script that computes the values you want and publishes them on a topic to visualize in rqt.

Asked by tfoote on 2017-03-12 16:35:11 UTC