Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement service to force update the costmaps #340

Merged
merged 2 commits into from
Dec 18, 2023
Merged

Conversation

siferati
Copy link
Collaborator

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

> rosservice call /move_base_flex/force_update_costmaps "{}"

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.

2023-12-11.14-30-00.mp4

Copy link
Collaborator

@corot corot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the force_

@siferati siferati requested a review from corot December 12, 2023 05:39
@corot corot merged commit bc19f73 into master Dec 18, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants