With standard dynamic reconfigure, new paramaters are mirrored on the ros paramater server such that you can do rosparam list and see your paramaters.
With this library however I can't see the paramaters at all with rosparam list. They appear in rqt_reconfigure but are apparently invisible to the rosparam api. Am I misunderstanding the library or have I done something wrong? Just making a small modification to the sample code on the readme to printout the keys :
int main(int argc, char **argv) {
ros::init(argc, argv, "ddynamic_tutorials");
ros::NodeHandle nh("~/other_namespace");
ddynamic_reconfigure::DDynamicReconfigure ddr(nh);
int int_param = 0;
ddr.registerVariable<int>("int_param", &int_param, "param description");
ddr.publishServicesTopics();
std::vector<std::string> keys;
nh.getParamNames(keys);
// Print out keys on param server
for(auto k : keys){
printf("Key is %s\n", k.c_str());
}
ros::spin();
return 0;
}
The only printed keys are the default roscore ones. I am on ROS Melodic, 18.04.
Any guidance is much appreciated. I am trying to use this vastly superior package with control_toolbox.
With standard dynamic reconfigure, new paramaters are mirrored on the ros paramater server such that you can do
rosparam listand see your paramaters.With this library however I can't see the paramaters at all with rosparam list. They appear in rqt_reconfigure but are apparently invisible to the rosparam api. Am I misunderstanding the library or have I done something wrong? Just making a small modification to the sample code on the readme to printout the keys :
The only printed keys are the default roscore ones. I am on ROS Melodic, 18.04.
Any guidance is much appreciated. I am trying to use this vastly superior package with control_toolbox.