Ask Your Question
3

rxplot for vector like types

asked 2011-02-23 03:46:02 -0500

Hi,

trying to plot some fields from a vector-like ROS message, I can't find the right syntax to do so. I have a ROSmsg 'DataMsg' which contains:

uint32 length

float64[] data

And a message on top of that DataMsgs, which has:

DataMsg[] data

How do I plot the data inside e.g. DataMsgs/data[0]/data[0] with rxplot? I tried various lines, but noone of them worked so far...

regards,

Steven

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2011-02-23 05:03:34 -0500

tfoote gravatar image

You're right to use [#] notation with slashes

For example this works:

rxplot /wide_stereo/right/camera_info/D[2]

And thsi works:

rxplot /tf/transforms[0]/transform/translation/x

I'm not finding a vector of vectors at the moment on our system but it should work too. If you find it doesn't support that file a ticket.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-02-23 03:46:02 -0500

Seen: 594 times

Last updated: Feb 23 '11