Retrieve "current configuration" from dynamic reconfigurable node
Lets say I just created a piece of software which is capable of sending dynamic_reconfigure configs towards the /move_base/local_costmap/set_parameter server.
The only way to send a configuration is to send the whole configuration and therefore one needs to send the values of each member of the configuration object. Since my design allows for manipulating only single or few parameters I need to retrieve the current values of all the other members so they are not set to their datatypes default values.
What I found so far is the following:
- Use the response of the dynamic_reconfigure call (won't help, since that leads to the same problem of creating the first configuration which I would send to get the response)
- Various topics including /move_base/local_costmap/parameter_(descriptions||update) (won't help for the same reason)
Obviously, my question now is how to get a configuration object holding the current values of the server.