ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

how get pose(x,y,z) of links and plot in rqt?

asked 2017-02-25 10:29:26 -0600

zakizadeh gravatar image

updated 2017-02-28 21:30:32 -0600

hi. I want plot position (x y z) for camera and second link for RRRBot robot.

NEngelhard told me: " you need to use a tf listener to get the pose and republish these values so that rqt_plot is able to plot them. "

but I do not know what to do. can any body write tf listener for RRRBot robot ??

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-02-25 11:13:57 -0600

NEngelhard gravatar image

updated 2017-02-25 11:15:53 -0600

Here is a full example (just google "tf listener": tf listener)

Just replace the frames by the ones you need (Most probably something like 'world' and 'link3' for your robot) and publish the position.

edit flag offensive delete link more


please check my answer

zakizadeh gravatar image zakizadeh  ( 2017-03-02 23:09:32 -0600 )edit

Question Tools



Asked: 2017-02-25 10:29:26 -0600

Seen: 1,109 times

Last updated: Feb 28 '17