How to enable live parameter updates (C++)

Описание к видео How to enable live parameter updates (C++)

ROS2 parameters are a great for configurable nodes that you can adapt to your own robot configuration simply by changing a configuration file or a launch file. However if we just implemented the basics you will have to re-run your node each time you change a parameter. But by adding a callback function that updates the variables in our code, is it possible to do a live parameter update while a program is running, removing the need for a tedious node restart.


You'll learn:
About the limitations of having a minimal ROS2 parameter implementation
How to add a parameter callback method

List of resources:
1. The Construct: https://app.theconstructsim.com/
2. Get the rosject: https://app.theconstructsim.com/l/53e...
3. Related course: https://app.theconstructsim.com/Cours...

#ROS #ROS2 #Robot #ROStutorials

Комментарии

Информация по комментариям в разработке