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

Using rqt_plot, how to find the topic name?

asked 2014-02-07 21:55:45 -0500

updated 2014-02-08 00:21:37 -0500

in the rqt_plot part of understandingTopic toturial http://wiki.ros.org/ROS/Tutorials/Und...

the topic is

/turtle1/pose/x

/turtle1/pose/y

/turtle1/pose/theta

but I can only find the topic

/turtle1/pose/

using command

rostopic list

(and rqt_plot doesn't work when only fill /turtle1/pose/ in the textbox)

where can I find the x/y/theta?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-02-07 23:56:15 -0500

Hamid Didari gravatar image

updated 2014-02-08 00:45:38 -0500

you must use it in this form

rqt_plot /topic1/field1

To graph multiple fields of a message:

rqt_plot /topic1/field1:field2:field3

To graph the data all on the same plot:

$ rqt_plot /topic1/field1,/topic2/field2

edit flag offensive delete link more

Comments

so, how to find the field name?

lanyusea gravatar image lanyusea  ( 2014-02-08 20:30:38 -0500 )edit

use "$rosmsg show msg_name" or use "$rostopic echo topic_name " to see diffrent fields of msg

Hamid Didari gravatar image Hamid Didari  ( 2014-02-08 20:49:30 -0500 )edit

Question Tools

Stats

Asked: 2014-02-07 21:55:45 -0500

Seen: 1,142 times

Last updated: Feb 08 '14