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

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

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

zakizadeh gravatar image

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

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
1

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

NEngelhard gravatar image

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

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

Comments

please check my answer

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

Question Tools

2 followers

Stats

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

Seen: 1,168 times

Last updated: Feb 28 '17