ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This is the solution. First it is needed to create a clean configuration structure. It has a method to fetch de data from the parameter server explicitly.
ros::NodeHandle nh("/url/configureserver"); dynamic_reconfigure::Server<myconfig> configure_server(nh); //some manual modifications of the configure server... //then we want to fetch the data and call our update callback.. MyConfig current_parameter_server_config; current_parameter_server_config.__fromServer__(nh); configure_server.updateConfig(newconfig);
2 | No.2 Revision |
This is the solution. First it is needed to create a clean configuration structure. It has a method to fetch de data from the parameter server explicitly.
ros::NodeHandle nh("/url/configureserver"); dynamic_reconfigure::Server<myconfig> configure_server(nh); //some manual modifications of the configure server... //then we want to fetch the data and call our update callback.. MyConfig current_parameter_server_config; current_parameter_server_config.__fromServer__(nh);configure_server.updateConfig(newconfig);configure_server.updateConfig(current_parameter_server_config);
3 | highlighting |
This is the solution. First it is needed to create a clean configuration structure. It has a method to fetch de data from the parameter server explicitly.
ros::NodeHandle nh("/url/configureserver");
dynamic_reconfigure::Server<myconfig>dynamic_reconfigure::Server<MyConfig> configure_server(nh); //some manual modifications of the configure server... //then we want to fetch the data and call our update callback.. MyConfig current_parameter_server_config; current_parameter_server_config.__fromServer__(nh); configure_server.updateConfig(current_parameter_server_config);