-
Notifications
You must be signed in to change notification settings - Fork 26
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
Addresses UR5 model display issue #79
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Few things for initial review:
- Thanks for fixing those docs API sections. Would you be willing to split that into a separate PR?
- You can just delete that UR5 example and leave the UR10
- The UR on base example at https://github.com/sea-bass/pyroboplan/blob/main/examples/differential_ik_whole_body.py will also need to be updated for the UR10.
@@ -25,6 +25,14 @@ pyroboplan.models.two\_dof module | |||
:undoc-members: | |||
:show-inheritance: | |||
|
|||
pyroboplan.models.ur5 module |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should ur10 now also be here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing this out. I am fixing the docs in a separate PR and will address this issue there.
If all the changes are okay, I will submit another PR to fix the documentation after your feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested the examples and they work and look great -- thank you!
The Panda model. | ||
collision_model : `pinocchio.Model` | ||
The Panda collision geometry model. | ||
srdf_filename : str, optional | ||
Path to the SRDF file describing the excluded collision pairs. | ||
If not specified, uses a default file included with the Panda model. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace Panda with "UR10" -- this might have been my fault in the UR5 one, so probably worth looking there too
urdf_filename = os.path.join(package_dir, "urdf", "ur5_on_base.urdf") | ||
|
||
return pinocchio.buildModelsFromUrdf(urdf_filename, package_dirs=models_folder) | ||
|
||
|
||
def add_ur5_on_base_self_collisions(model, collision_model, srdf_filename=None): | ||
""" | ||
Adds link self-collisions to the Panda collision model. | ||
Adds link self-collisions to the UR5 collision model. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, Panda is in this docstring (few lines below too).
This PR addresses the issue of the UR5 model display.
ur10
model to theur_description
directory.ur5_description
and updatedur_description
to accommodate all UR models.