-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify bags base directory #1595
Comments
i think sounds reasonable, |
@tonynajjar I am sorry. I didn't get your proposal. Could you please clarify/elaborate? |
Sure. Currently we can specify the --output which is base directory + bag folder. If we don't specify it then base dir = current dir and bag folder is autogenerated to be unique (with a timestamp). I'd like to specify only the base dir as an argument, to keep both benefits of specifying a directory for my bags and have unique aurogenerated names. I hope it's clearer |
You basically want the autogenerated name of the Make sense to consider changing the current behaviour for the I am not a fan of having two very similar options like |
The biggest con is probably that it's breaking for current users. Besides, I think it makes sense to want to specify these 2 things separately: where you want to save your bags and what you want the name of your bag to be |
@tonynajjar In this case, to avoid confusion in parameter names, I would suggest adding a new parameter like |
I don't think it's a stretch to say that robotics projects want ros bag to launch automatically as part of their stack bringup, aka in a launch file. The problem with launch files and the I also didn't want to have to write my own name generators. But to change the directory, you are required to. Here's my workaround:
(If you're not using launch.py, then I guess you can be sad? Or wrap it in a shell script?) |
I'm not sure I see that it's necessary for
Or have I missed something about this request that changing |
Description
Currently in
record.py
, the arg--output
allows to specify the full directory of the bag. It would be nice if we could specify the "base directory" only such that the bag folder is still automatically generated with the timestamp but all bags are contained in a configurable directory other than the current directory where the command is runThe text was updated successfully, but these errors were encountered: