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

problem with .bag file

asked 2011-10-19 04:35:11 -0600

Antonio gravatar image

Hi, I've recorded, using rosbag, a .bag file with images from a gscam node and message from the gmapping-slam node and I'd like to create a file that associate each image to the corresponding estimated pose. I think I can to this with rxbag, but I can't extract timestamps of images to relate them with the poses and I've also some problem in converting the poses data from the .bag file to another file, like CSV, to use that in some other environment. Do you have some suggestion? Thanks for helping

edit retag flag offensive close merge delete

Comments

The images should have timestamps. Are you sure they do not?
joq gravatar image joq  ( 2011-10-19 07:19:08 -0600 )edit
with rxbag I select view(Topic)->gscam/img-raw->raw and when I analyze the header, in the field stamp I got always the zero value? Maybe there's a problem with the camera topic, or something else, or am I doing something wrong?
Antonio gravatar image Antonio  ( 2011-10-20 05:45:54 -0600 )edit
This sounds like your camera driver was not filling in the timestamps correctly. I suggest you file a ticket for the camera node you are using.
tfoote gravatar image tfoote  ( 2011-11-16 09:19:23 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2011-10-19 04:50:22 -0600

David Lu gravatar image

You can probably write tools to do some of this yourself with the ROSbag API.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-10-19 04:35:11 -0600

Seen: 522 times

Last updated: Oct 19 '11