-
Notifications
You must be signed in to change notification settings - Fork 48
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
update backward compatibility on visual and collisions #47
Conversation
Link(visual=...) does not set <visual> on <link> since 0.4.0, breaks backward compatibility
Once ros/urdf_parser_py#47 is merged, we can remove this block
Hi @clalancette @sloretz , let us know if there is anything we can do to help in merging this PR, thanks! |
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 looks generally OK to me. @k-okada can you please rebase?
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Brought up to date and made a few fixes for the |
* add test to build robot model from python urdf classes * add more tests on python urdf build * update backward compatibility Link(visual=...) does not set <visual> on <link> since 0.4.0, breaks backward compatibility * Robot accepts version kwarg Signed-off-by: Shane Loretz <sloretz@osrfoundation.org> Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
* add test to build robot model from python urdf classes * add more tests on python urdf build * update backward compatibility Link(visual=...) does not set <visual> on <link> since 0.4.0, breaks backward compatibility * Robot accepts version kwarg Signed-off-by: Shane Loretz <sloretz@osrfoundation.org> Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
On indigo, to set visual and collisions on links, we write
or
However, since melodic both method did not work well when we write URDF strings from these data as reported on #45. It only outputs
<robot>
and<link>
tag without<visual>
and<collision>
.And , to output
<visual>
and<collision>
in URDF, we have to write, but this is not work on Indigo machine.
This PR enable melodic users to continue using indigo-style code.