Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 77

Read a position in a tf message

$
0
0
Hi all, 1. I am using the universal_robot package and I would like to visualize the end-effector's position error in rqt_plot. I guess I need to compute it in a node of my own and publish it so I can have access to the topic in rqt_plot. Is that correct? 2. Now in order to start with I thought I would visualize component X of the effector in rqt_plot. So I had a look at the topics published and I could find topic */tf* of type *tf2_msgs/TFMessage*which contains an array of transforms of type *geometry_msgs/TransformStamped[]* (itself containing the translation info a few levels below). This boils down to me trying to plot topic **/tf/transforms[*whatToPutHere?*]/transform/translation/x**. But I never can get my curve correctly displayed: * If whatToPutHere = blank (nothing, empty): ros_plot lets me add the topic to plot, but the curve value is 0 * If whatToPutHere = 0, 1, 2... : ros_plot lets me add the topic to plot, but the curve value is 0 * If whatToPutHere = ee_link (name of the effector's link): ros_plot does not let me add the topic to plot Any idea of what goes wrong here? ![image description](/upfiles/14073424639705117.png) Thanks, Antoine.

Viewing all articles
Browse latest Browse all 77

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>