How to plot the position of ethzasl_ptam in rqt_plot ?
I have a ROS node (ethz-ptam) which publishes a topic /vslam/pose
which is of type geometry_msgs/PoseWithCovariance
message. Running:
rostopic type /vslam/pose | rosmsg show
gives the following:
std_msgs/Header header
uint32 seq
time stamp
string frame_id
geometry_msgs/PoseWithCovariance pose
geometry_msgs/Pose pose
geometry_msgs/Point position
float64 x
float64 y
float64 z
geometry_msgs/Quaternion orientation
float64 x
float64 y
float64 z
float64 w
float64[36] covariance
I'd like to use rqt_plot to plot a field (say Point position x
). But I tried everything to "call" it in rqt_plot, but it doesn't work, the rqt_plot window shows like it should but the field is not plotted. From rostopic echo /vslam/pose
I know that it is being published, so everything is working except rqt_plot. Also if I write inside the text-input-field in rqt_plot, like they say in the docs (topic-name/field:field:field
): /vslam/pose/x
or /vslam/pose/x:y:z
nothing shows. According to the tutorials, in rqt_plot you should be able to hit the +
Button next to the text-input-field, but this one is never active in my case, so it can't be pressed.
I am pretty sure that I am making some kind of mistake in referencing the message field (like x
). But since I tried all variants I could think of, I'd really apprechiate some advice on how to do this and call/reference this field so that the position fields are displayed in rqt_plot.
Thanks!