ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It seems like changing the order in my code fixed the issue.

When I setadd_on_set_parameters_callback before actually declaring parameter, it ensures that parameter override value is triggering the callback and then populating the value to my function.