Dynamically control EKF robot_localization

asked 2022-06-16 13:29:18 -0600

MrOCW gravatar image

updated 2022-06-16 14:34:46 -0600

Hi,

I would like to change the params/topic names of ekf node dynamically during runtime via code. How should I go about doing this? I have attempted creating a Lifecycle Node and running both ekf and the lifecycle node together. I edited the source code by setting a variable to activate/deactivate depending on on_activate() or on_deactivate() from the lifecycle node and it is working. But wondering what is the "correct" way to do this? Thanks

edit retag flag offensive close merge delete