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

rosbag duration

asked 2012-01-11 02:12:27 -0600

Enrique gravatar image

I've been tried to record a bag for a given duration and it seems that the arguments are ignored, so it still records until I hit Ctrl+C.

I'm running this command (but it fails for any topic/s):

rosbag record --duration 10 /camera/image_color

on ros-electric, ubuntu oneiric.

Is this a known bug, or am I doing something wrong?

edit retag flag offensive close merge delete

Comments

I want to use it for multiple topics, publishing at different frequencies, so -l NUM_MSGS is useless, as far as I know.
Enrique gravatar image Enrique  ( 2012-01-11 02:16:49 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-01-11 03:29:09 -0600

Enrique gravatar image

updated 2012-02-09 21:44:33 -0600

I've just created this enhancement ticket to request this feature.

UPDATE The ticket is now solved and closed!

edit flag offensive delete link more
1

answered 2012-01-11 03:20:25 -0600

joq gravatar image

It looks like rosbag record does not currently provide a --duration option.

As you pointed out, that would sometimes be quite useful. You might consider opening an enhancement ticket to add that feature.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-01-11 02:12:27 -0600

Seen: 1,422 times

Last updated: Feb 09 '12