-
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
[ur_description] Allow custom robot #592
[ur_description] Allow custom robot #592
Conversation
The arguments were missing in `ur10_macro.xacro` and similars, as well as in `load_ur.launch` Signed-off-by: Gaël Écorchard <[email protected]>
I'm not sure I understand the PR. Did you notice this in the convenience top-level
|
The file |
I saw the notice in the top-level xacro. It would need to be removed but I first wanted to discuss about the PR. |
To start a discussion, posting an issue might have been better. AFAIU now, the problem is on the The files you change are top-level files, not meant to be parameterised. As the comment explains, they are only there for convenience. We could consider changing something here, but I'd first want to ask @fmauch to comment on this, as he both maintains And to explain: the point of not allowing parameterisation everywhere is that it just gets too complex. Files including files including files including files, all the while passing |
This can be considered as an issue of
This PR should solve the issue there. |
I agree with you that the argument passing is complicated (this is even exacerbated by the fact that the parameter names change, |
I think that the macro files here should stay as they are, as their purpose is to abstract the parametrization away. I would also vote for fixing this inside the driver. It would probably be best to call the Edit: This should already work reliable. I'll recheck... Edit2: OK, now I understand. With #588 we effectively bypass the xacro specialization. An alternative implementation for fixing this could be fmauch@446e962. With that I can launch ur5e_bringup.launch on a ur10e with passing the kinematics_config from a ur10e resulting in the driver not complaining about wrong kinematics and the TF tree being correct (though, obviously not the meshes, as we still load a ur5e description): # remember, there's a ur10e simulation connected
roslaunch ur_robot_driver ur5e_bringup.launch robot_ip:=192.168.56.101 kinematics_config:=$(rospack find ur_description)/config/ur10e/default_kinematics.yaml |
Bump. FWIW I think these changes make a lot of sense. Intuitively you would expect to be able to run So the way I see it #588 introduced a regression by bypassing the xacro specialization, and this PR resolves the issue and re-introduces the original behavior. Further, even something as isolated as (EDIT: I think I prefer @fmauch's proposed "alternative implementation". That way the convenience |
@galou @danielcranston Would you be fine with closing this in favor of #612? |
Sounds good to me! Thanks for the ping |
Closing this as mentioned before. |
The arguments were missing in
ur10_macro.xacro
and similars, as wellas in
load_ur.launch
Signed-off-by: Gaël Écorchard [email protected]