-
Notifications
You must be signed in to change notification settings - Fork 1k
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 convenience macros for description files #562
Add convenience macros for description files #562
Conversation
So move to include directory.
These avoid users having to provide values for *all* arguments of the 'ur_robot' macro. In many cases, users will want to keep the default files for the joint limits, physical and visual parameters, and only override the default kinematics (to use extracted calibration fi). With the provided wrapper macros, this is possible, as variant-specific defaults are provided for all arguments, requiring only to override the required ones. Users looking to include a UR into a larger scene or composite xacro macro should 'xacro:include' these '_macro.xacro' files. The top-levels are only useful when loading a stand-alone UR in an otherwise empty scene. They do not allow access to any arguments and only use the defaults.
This was changed in e4eb547
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.
I have tested all the URDF models, spawning all of them on simulation, visualizing the tf trees on RVIZ and moving all the joints to their limits with the joint trajectory controller.
LGTM 👍🏽
Thanks a lot @fmauch
Sorry for bothering, but is anything holding this back? |
Since this pull request has been approved by a reviewer, can anyone have merge permission merge this one? |
Bump |
Also approving :) |
ping @gavanderhoorn , could you please check the changes proposed here and merge the PR? I have already tested and approved it. |
Is there any particular reason this isn't merged? |
Please merge this |
1 similar comment
Please merge this |
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.
This is a mess, but that's not @fmauch's fault.
Let's at least resolve the situation where we have nothing.
Originally started by @gavanderhoorn this PR aims at providing direct xacro macros for each robot model.
This way, users can easily embed a UR robot into their own robot descriptions without the necessity of providing all xacro arguments, as default values for the respective models are already set.
I mainly open this PR, as I'd like to base #538 on top of those changes. @gavanderhoorn I hope you don't mind hijacking your efforts here.