ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

dynamic reconfigure is used to change the parameters used by a node while they are running, so it has no meaning to try and use it when nodes are not running.

If I've understood what your asking it sounds like you want to change the initial values that the parameters are given when your nodes start. These will be set in one of three ways, A by a param tag in a launch file, B in a YAML file or C by the defaults defined in the nodes themselves if no other value is given. You'll need to find which of these three is the case and update the appropriate file.

dynamic reconfigure is used to change the parameters used by a node while they are running, so it has no meaning to try and use it when nodes are not running.

If I've understood what your asking it sounds like you want to change the initial values that the parameters are given when your nodes start. These will be set in one of three ways, A by a param tag in a launch file, B in a YAML file or C by the defaults defined in the nodes themselves if no other value is given. You'll need to find which of these three is the case and update the appropriate file.

Update:

Thanks for the additional information. Are you trying reconfigure the velodyne driver node? This is not possible if you're not running the node. When you playback the bag files it's just a recording of the topics that the were published when the bag was recorded, you're not actually running the velodyne driver node. The confusion seems to be caused because the reconfiguration server uses topics to communicate, and the contents of these topics has been recorded in the bag file. However the node and it's reconfiguration server are not running so you cannot change any parameters.

I'm not sure what the 'disk' parameter is, I can't find any reference to it in the driver, but you may be able to achieve what you want by filtering the existing point-cloud data recorded in the bag file. You can describe exactly what you're trying to achieve we may be able to help you.