Skip to content

add helper function to load robot from package name + urdf + srdf#3039

Merged
sjahr merged 2 commits intomoveit:mainfrom
marioprats:load-robot
Oct 25, 2024
Merged

add helper function to load robot from package name + urdf + srdf#3039
sjahr merged 2 commits intomoveit:mainfrom
marioprats:load-robot

Conversation

@marioprats
Copy link
Contributor

Description

Adds a little helper function to load a RobotModel given a package name and URDF / SRDF paths relative to the package, in case someone needs to load a robot for testing, different than the pre-set ones.

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

@marioprats marioprats requested a review from sjahr October 24, 2024 11:37
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.

Thanks!

@sjahr sjahr merged commit b05ab22 into moveit:main Oct 25, 2024
@rhaschke
Copy link
Contributor

Wouldn't it make sense to rewrite the existing functions to use the newly added one and just pass the corresponding paths?

Markus-Simonsen pushed a commit to Markus-Simonsen/moveit2 that referenced this pull request Aug 12, 2025
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.

3 participants