Open roboticlemon opened 3 years ago
You may find this useful:
pnh_.param
I setup each parameter both in the typical parameter server and inside ddr. This allows me to see them listed, as well as, lets me work with them inside ddr and use them for callbacks.
You may find this useful: pnh_.param("demo_value", demo_valueenabled, false); ddr_.registerVariable("demo_value", &demo_valueenabled, boost::bind(changeDemoValue, _1), "Enable Demo Value", false, true, "Demo Category");
I setup each parameter both in the typical parameter server and inside ddr. This allows me to see them listed, as well as, lets me work with them inside ddr and use them for callbacks.
您可能会发现以下命令很有用: pnh_.param(“demo_value”,demo_valueenabled,false); ddr_.registerVariable(“demo_value”,&demo_valueenabled,boost::bind(changeDemoValue,_1),“启用演示值”,false,true,“演示类别”);
我在典型的参数服务器和ddr中设置了每个参数。这让我可以看到它们的列表,也让我可以在ddr中使用它们,并将它们用于回调。
Not work too. Help.
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 :
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.