dynamic_reconfigure is on providing a standard way to expose a subset of
a node's parameters to external reconfiguration. Client programs, e.g.,
GUIs, can query the node for the set of reconfigurable parameters,
including their names, types, and ranges, and present a customized
interface to the user. This is especially useful for hardware drivers,
but has broader applicability.
ขั้นตอนการทำ
Dynamic Reconfigure (Python version)
.
1. How to Write Your First .cfg File
http://wiki.ros.org/dynamic_reconfigure/Tutorials/HowToWriteYourFirstCfgFile
.
2. Setting up Dynamic Reconfigure for a Node (python)
http://wiki.ros.org/dynamic_reconfigure/Tutorials/SettingUpDynamicReconfigureForANode%28python%29
.
3. Using the Dynamic Reconfigure Python Client
http://wiki.ros.org/dynamic_reconfigure/Tutorials/UsingTheDynamicReconfigurePythonClient
.
Run It!
Once again make the node executable: chmod +x nodes/client.py Launch a
core and your server node, and launch your new client node. If you've
done everything correctly, both your client and server should begin to
print out matching configurations every ten seconds.