Ask Your Question
0

rxplot window size

asked 2011-03-14 06:18:06 -0500

Nick gravatar image

Is there a way to set the number of points displayed in an rxplot window? It looks like by default there's about a five-second window displayed, but I would like it to be more like 30 seconds, displayed in real time.

I expected to find documentation of this on http://www.ros.org/wiki/rxplot but it wasn't there.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-03-14 06:35:43 -0500

Using the "--help" option with ROS command line tools gives you help on available options. Using it with rxplot shows you can use the -p (PERIOD) option to set the period displayed in the window.

edit flag offensive delete link more

Comments

Thanks! Do you have any idea what the options for "legend" are? That one is a little obscure.
Nick gravatar image Nick  ( 2011-03-14 06:47:01 -0500 )edit
Haven't tried it before, but you can provide a legend for the plotted data similar to the functionality in matlab. I guess most of the time the automatic default legend (topic name) is sufficient.
Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2011-03-14 11:05:51 -0500 )edit
Good to know. The -p option was not an obvious guess, I think the help could be a bit more explicit. I thought it controlled the refresh rate or something...
brice rebsamen gravatar image brice rebsamen  ( 2011-10-13 15:06:54 -0500 )edit

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-03-14 06:18:06 -0500

Seen: 169 times

Last updated: Mar 14 '11