Closed jack-oquin closed 8 years ago
I definitely agree. I am all for removing any possible source of confusion. We should definitely enforce the parameter in the upload, and I believe we will also need to change the bwi_logging record node. AFAIK I only made the bwi parameter explicit in the launch file, but it still defaults to bwi in the node. I will assign this to myself and make those changes
When typing the commands, it will be more convenient to replace the -p
option with a mandatory positional argument:
$ bwi bags [options] PREFIX
For consistency, that should work the same for both the bags
and upload
scripts.
@pato: You did leave the prefix
parameter default as bwi
in the logging node.
I'm content to leave that alone. Otherwise the logging node would have to refuse to run, not good behavior for a ROS node.
@pato: I reassigned this issue to myself, because I'm ready to make this change, now.
Hope that does not interfere with anything you were already doing.
It's working for me.
I think we should consider always requiring the
-p
parameter. Otherwise people will often forget and end up usingbwi
by default. When running the scripts by hand, that's frequently not what is wanted.If we do this, we could also make a similar change to the bwi_logging record node. I'm not sure that's really necessary, because the launch file always passes that parameter explicitly.
@pato: comments? suggestions?