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

Add SaveGeometryToFile and LoadGeometryFromFile services #2973

Merged
merged 3 commits into from
Aug 22, 2024

Conversation

bgill92
Copy link
Contributor

@bgill92 bgill92 commented Aug 19, 2024

Description

This PR adds services which can be used to save/load CollisionObjects to/from files. This depends on moveit/moveit_msgs#181.

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

@bgill92
Copy link
Contributor Author

bgill92 commented Aug 19, 2024

CI is failing because moveit/moveit_msgs#181 is not merged.

return;
}
planning_scene_monitor::LockedPlanningSceneRO locked_ps(context_->planning_scene_monitor_);
locked_ps->saveGeometryToStream(file);
Copy link
Contributor

Choose a reason for hiding this comment

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

Dump question: Have you checked that these file operation don't throw? (This is just a nit question and not supposed to block the PR)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have not, I can look into it more.

@bgill92 bgill92 requested a review from sjahr August 21, 2024 20:25
@sjahr sjahr merged commit 5548ef1 into moveit:main Aug 22, 2024
10 of 12 checks passed
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.

2 participants