Add the --duration and --split flags to the python wrapper for rosbag.#2
Add the --duration and --split flags to the python wrapper for rosbag.#2wjwwood merged 1 commit intoros:masterfrom mjcarroll:master
Conversation
Changing so that duration and size flags are recognized through the python command line.
|
What is this change for? This diff doesn't seem to do much.... |
|
So the size and duration params can be passed without the need for the The extra indent in the python wrapper makes it so that you have to have My use case was: rosbag record --duration 30 topic1 topic2 topic3 Which should record a 30 second long bag, but instead records indefinitely. ~mc mobile On Aug 28, 2012, at 19:57, William Woodall notifications@github.com wrote: What is this change for? This diff doesn't seem to do much.... — |
|
As Dirk just pointed out to me, the indention is different. There was some confusion though, because I thought in this instance the patch was incorrect, because I will apply this patch and that will make the behavior as follows:
I will, however, also open an issue stating that |
|
I can probably add that, as it's something that I'm interested in. And yes, I should have told you it was just a few indents. It was noted in ~mc mobile On Aug 28, 2012, at 20:19, William Woodall notifications@github.com wrote: As Dirk just pointed out to me, the indention is different. There was some confusion though, because I thought in this instance the I will apply this patch and that will make the behavior as follows: rosbag record --duration 30 topic1 topic2 topic3 -> Records a 30 second bag I will, however, also open an issue stating that --size and --duration so — |
|
The issue is here: #4 |
rosbag: Allow the `--duration` and `--size` flags to work with or without the `--split` flag.
Adding apparmor profiles and readme
rqt_nav_view: initial import from external
NIM-2725 Add logging around publisherUpdate and Inbound failures
rosbag: Allow the `--duration` and `--size` flags to work with or without the `--split` flag.
Changing so that duration and size flags are recognized through the python command line.
Modification taken from https://code.ros.org/trac/ros/ticket/3810
Quote:
[moved from https://code.ros.org/trac/ros-pkg/ticket/5335]
Currently rosbag record doesn't support --duration argument (it ignores it).
It would be useful to have such feature, in particular to record multiple topics for a given time, since -l (number of messages) is not useful in such case (it records the same number of messages for each topic).
This affects to ros-electric, as well as previous version (at least, diamondback).