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

Shut down PSM publishing before starting to publish on a potentially new topic #2680

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

sea-bass
Copy link
Contributor

@sea-bass sea-bass commented Feb 9, 2024

Turns out that if the planning scene already had an active publisher, the new options from MoveItCpp would not take effect.

This PR ensures that publishing to a planning scene from MoveItCpp first shuts down other publishers, and if this check fails I added a few warnings that helped me debug this issue.

Fixes moveit/moveit2_tutorials#869

@sea-bass sea-bass force-pushed the fix-moveit-cpp-planning-scene-pub branch from 66e0677 to 3a222d0 Compare February 9, 2024 17:47
@sea-bass sea-bass changed the title Fix logic for planning scene publishing from MoveItCpp @sea-bass Shut down PSM publishing before starting to publish on a potentially new topic Feb 9, 2024
@sea-bass sea-bass changed the title @sea-bass Shut down PSM publishing before starting to publish on a potentially new topic Shut down PSM publishing before starting to publish on a potentially new topic Feb 9, 2024
@tylerjw tylerjw merged commit ce40e08 into main Feb 9, 2024
13 checks passed
@tylerjw tylerjw deleted the fix-moveit-cpp-planning-scene-pub branch February 9, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Collision object is not published in moveit_cpp tutorial
2 participants