-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add a service for enabling/disabling the collision monitor #5493
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
Merged
SteveMacenski
merged 19 commits into
ros-navigation:main
from
armgits:collision-monitor-toggle-service
Sep 19, 2025
Merged
Changes from 17 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
0f23d6f
Added std_srvs package to dependencies
armgits 80a7b92
Declared service and callback for enabling/disabling collision monitor
armgits b88d552
Declared a variable to store collision monitor enable/disable state
armgits e42f714
Added initialization for collision monitor enable/disable service
armgits 34b8881
Implemented service callback for collision monitor enable/disable ser…
armgits a5e14c2
Removed std_srvs package dependency
armgits 2849992
Added Toggle interface
armgits 3d98ebe
Replaced Trigger interface with the new Toggle interface
armgits cf75f2e
Added default initialization for enabled flag
armgits 8cdaee1
Fixed toggle service name
armgits 334ccd5
Updated toggle logic for collision monitor
armgits 4a6c7f4
Added a new line at the end of file
armgits 646db23
Update nav2_collision_monitor/src/collision_monitor_node.cpp
armgits 402c4d6
Update nav2_collision_monitor/src/collision_monitor_node.cpp
armgits 7af69d3
Added enabled check for logging
armgits a27dcc8
Added a unit test for toggle service
armgits 5621cfc
Made the getter const and added a comment
armgits aa11e09
Replaced rclcpp::spin_some
armgits 742833e
Merge branch 'main' into collision-monitor-toggle-service
armgits File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| bool enable | ||
| --- | ||
| bool success | ||
| string message |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.