Closed siferati closed 6 months ago
Added a new service force_update_costmaps to force an update to happen NOW.
force_update_costmaps
Bonus: fixed description of clear_costmaps service -- I guess it was a mistake from copy-pasting.
clear_costmaps
> rosservice call /move_base_flex/force_update_costmaps "{}"
Note that in the video I set the update frequency to 0, so in order for rviz to reflect the change I need to re-toggle the subscribers. But you can see how the footprint immediately updates to the new position.
https://github.com/magazino/move_base_flex/assets/15384781/1bbfb213-78ad-4349-a14c-78823f1f96e6
Description
Added a new service
force_update_costmaps
to force an update to happen NOW.Bonus: fixed description of
clear_costmaps
service -- I guess it was a mistake from copy-pasting.Testing
Demo
Note that in the video I set the update frequency to 0, so in order for rviz to reflect the change I need to re-toggle the subscribers. But you can see how the footprint immediately updates to the new position.
https://github.com/magazino/move_base_flex/assets/15384781/1bbfb213-78ad-4349-a14c-78823f1f96e6