-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
DDynamic Reconfigure - Default Values #609
Comments
I'm running into the same problem. The "traditional" ROS dynamic reconfigure server reads all parameter values form the ROS parameter server on startup and sets the parameters to those values. When a dynamic reconfigure call is made, it also updates the values on the parameter server. This way, running a |
A workaround for this problem is to include a dynamic reconfigure call in the launch file:
|
Another option is probably to use the JSON config file. |
One problem with communicating the realsense ROS node parameters with the ROS parameter server is that in the current implementation some parameters have spaces in them (e.g. "Emitter Enabled") which is not a valid ROS parameter name (see http://wiki.ros.org/Names). |
@stwirth |
@doronhi this is actually a problem of ddynamic_reconfigure.
Unfortunately ddynamic_reconfigure does not implement the same behavior, especially the read operation from the ROS parameter server is not done on startup (which this ticket is about). |
Another thing that ddynamic_reconfigure does not support (and therefore the driver cannot support) is to give feedback about which parameter values have been accepted by the callback. The caller of the reconfigure service just has to believe that the requested parameters are applied. |
@stwirth |
As a workaround to this problem we currently use the JSON format, we simply took the presets from here and adapted the values to match the ones we found by playing with dynamic reconfigure. |
[Please Ignore - RealSense system comment] |
fixes IntelRealSense#609 Only if the ROS params are set
Is there simple way to set the default values for the dynamic reconfigurable variables?
The text was updated successfully, but these errors were encountered: