Ask Your Question
0

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

asked 2017-03-07 13:59:14 -0600

zakizadeh gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-03-07 14:06:31 -0600

gvdhoorn gravatar image

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).

edit flag offensive delete link more

Comments

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

zakizadeh gravatar imagezakizadeh ( 2017-03-08 00:10:37 -0600 )edit

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.

tfoote gravatar imagetfoote ( 2017-03-12 16:35:11 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-03-07 13:59:14 -0600

Seen: 690 times

Last updated: Mar 07 '17