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

[Servo] Fix collision checking with attached objects #2747

Merged
merged 3 commits into from
Mar 19, 2024

Conversation

sea-bass
Copy link
Contributor

@sea-bass sea-bass commented Mar 18, 2024

Description

This PR introduces a slight fix to the MoveIt Servo collision checker to make it work with attached objects.

Turns out Current State Monitor has some issues, but Planning Scene Monitor works fine: #2748

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

@sea-bass sea-bass self-assigned this Mar 18, 2024
@sea-bass sea-bass requested a review from AndyZe March 18, 2024 19:00
@sea-bass
Copy link
Contributor Author

sea-bass commented Mar 18, 2024

CI failures seem to be from #2749

Copy link
Contributor

@sjahr sjahr left a comment

Choose a reason for hiding this comment

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

Do you mind adding a small comment that explains why getPlanningScene() is used instead of getStateMonitor? Worst case, someone casually switches it back next time the code is touched 😓

@henningkayser henningkayser added the backport-iron Mergify label that triggers a PR backport to Iron label Mar 19, 2024
@henningkayser henningkayser merged commit 68e8680 into main Mar 19, 2024
5 of 12 checks passed
@henningkayser henningkayser deleted the fix-servo-collision-attached-obj branch March 19, 2024 14:04
mergify bot pushed a commit that referenced this pull request Mar 19, 2024
sjahr pushed a commit that referenced this pull request Mar 22, 2024
(cherry picked from commit 68e8680)

Co-authored-by: Sebastian Castro <4603398+sea-bass@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-iron Mergify label that triggers a PR backport to Iron
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CurrentStateMonitor does not correctly report attached collision objects, but PlanningSceneMonitor does.
3 participants