Best practices for logging messages and parameters
Hi all,
I was wondering about best practices to log datasets with rosbag and save the parameters that were used during logging. As long as parameters do not change, I could just run rosparam dump paramfile
and then run rosbag record my_topics
.
However, when e.g. using dynamic reconfigure during logging, parameters will change.
One could now run rosparam dump paramfile
every time dynamic reconfigure was used, but that's rather tedious and error prone. Another way would be to create a parameter message and publish the current parameters at a constant rate - less error prone but also not really nice... any better ideas?
Would it be possible to configure the parameter server such that it dumps the parameters on every change, or can I find something like this already somewhere in the logs?
Best, Markus