-
Notifications
You must be signed in to change notification settings - Fork 123
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
Flatten macro call structure #52
Conversation
Signed-off-by: Christoph Hellmann Santos <[email protected]>
Similar to what I suggested over at StoglRobotics-forks/kuka_experimental#11 (comment). You could go even further and refactor the |
Agree, but I would not go as far as abstracting For the KUKA it made sense because it is a new port. |
just calling it out: I would say it makes sense in general, as due the way See the various PRs against this repository and the ROS 1 version for multi-robot support fi. As an example: changes to the base |
I indeed so a point in the concerns raised here. At least for Rolling I don't see any problem in factoring this into an own package. @RobertWilbrandt what do you think? |
I've added a playground of splitting out the |
Closing this in favor of #114 |
Problem Description
The xacro structure of this description package does not allow to use the robot model without the ros2_control model.
The call structure is:
This breaks with the common practice in other packages (e.g. abb_ros2 or franka_ros2).
We have a few applications where we really don't wnat the ros2_control part in the model and would like to be able to instantiate a plain urdf model. This is impossible with the current structure. Also this confuses tools such as moveit_setup_assistant.
Problem Solution
Move to the common practice of flat macro call hierarchy and instantiate the
xacro:ur_ros2_control
seperately fromxacro:ur_robot
.This PR contains a POC which instantiates ros2_control directly in
ur.urdf.xacro
.Did only test with fake hardware for now.