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

rxbag plot does not show any message fields

asked 2011-11-06 07:10:31 -0500

Paul0nc gravatar image

updated 2016-10-24 09:01:27 -0500

ngrennan gravatar image

I'm trying to use the "plot" plugin for rxbag in order to plot (x,y,z) depth data from a kinect. I'm able to open the plot gui, but when I click on the cog icon to select fields to plot, nothing happens.

Can anyone tell me why this is happening?

Thanks, Paul.

EDIT: I am using electric on ubuntu 10.4.

EDIT: rosbag info below...

$: rosbag info 2011-11-06-15-27-59.bag 
path:        2011-11-06-15-27-59.bag
version:     2.0
duration:    15.2s
start:       Nov 06 2011 15:28:01.39 (1320611281.39)
end:         Nov 06 2011 15:28:16.60 (1320611296.60)
size:        1.8 MB
messages:    452
compression: none [2/2 chunks]
types:       body_msgs/Skeletons [8d6667331403917cc53d8d820001e6f9]
topics:      /skeletons   452 msgs    : body_msgs/Skeletons (452 connections)
edit retag flag offensive close merge delete


Could you update your question to include which ROS release you are using (Diamondback, Electric, etc)? Do you get any error messages in the terminal where rxbag was run from?
Eric Perko gravatar image Eric Perko  ( 2011-11-06 08:28:05 -0500 )edit
Eric: I am using electric on ubuntu 10.4. I do not get any error messages in the terminal.
Paul0nc gravatar image Paul0nc  ( 2011-11-06 09:31:03 -0500 )edit
What does rosbag info say about this bag file?
joq gravatar image joq  ( 2011-11-07 02:02:35 -0500 )edit
joq: See my edit above regarding rosbag output. Thanks.
Paul0nc gravatar image Paul0nc  ( 2011-11-07 08:04:03 -0500 )edit
joq: Apologies for another basic question: How did you format the above edit to appear as it did on my screen? (assuming you did this).
Paul0nc gravatar image Paul0nc  ( 2011-11-07 09:11:37 -0500 )edit
Pre-formatted text lines start with four spaces.
joq gravatar image joq  ( 2011-11-07 10:29:31 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-11-07 10:32:43 -0500

joq gravatar image

I don't see anything wrong with your bag contents. It has data, apparently the right type.

Sometimes I've noticed rxbag refusing to display message contents if its cursor is positioned at the beginning of the data.

Try moving the cursor past the first few messages before attempting to plot.

edit flag offensive delete link more


Many thanks joq. Moving the cursor did the trick.
Paul0nc gravatar image Paul0nc  ( 2011-11-07 11:10:08 -0500 )edit
We should open a defect ticket for this problem. It's been happening for several releases.
joq gravatar image joq  ( 2011-11-08 01:13:58 -0500 )edit
Agreed. I'll check to see if one exists or open one.
Paul0nc gravatar image Paul0nc  ( 2011-11-08 07:59:02 -0500 )edit

Question Tools


Asked: 2011-11-06 07:10:31 -0500

Seen: 336 times

Last updated: Nov 07 '11