Ask Your Question
3

rosbag duration

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

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 imageEnrique ( 2012-01-11 02:16:49 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

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

Enrique gravatar image

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

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 -0500

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

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: 2012-01-11 02:12:27 -0500

Seen: 538 times

Last updated: Feb 09 '12