-
Notifications
You must be signed in to change notification settings - Fork 131
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
urdf_parser_py Exception with new transmission specification #22
Comments
Good find! I'll add a check when it's parsing the transmission object specifically. I will spend an hour on it tomorrow. And for a manual overlay, maybe you can run CMake such that it installs to your local site packages, something like:
It looks like it might install it to dist-packages, though, so I can't speak to it working like that. |
Thanks in advance! We work with calvin[0]. [0] - http://wiki.ros.org/calvin_robot |
Started work on it.
(This assumes that Tested it out with the following command:
Should print out to the directory you specified. |
I've implemented the code, but it is not yet ready. I need to be test and debug it tomorrow: https://github.com/eacousineau/urdfdom/compare/feature;issue-22?expand=1
Thanks! |
I apologize, I was unable to work on it today. I will address it either tomorrow or Tuesday. |
I'm sorry for not answering in time. At the moment I'm experiencing technical difficulties I hope to get back to you soon! |
I just uploaded the properly formatted patch to [0]. |
Thank you! I finished up the tests and submitted the pull requests. You can see the diff patch when it parses calvin and then spits it back out to a string: gen.patch |
merged #23 |
urdf_parser_py fails when processing a URDF containing a element
which adheres to the current specification given in
http://wiki.ros.org/urdf/XML/Transmission .
Because the old specification expected a "type" attribute,
which the new spec includes as a sub-element, the python parser throws "type"-is-missing Exceptions.
Also, the actuator definition became more complex and now includes the mechanicalReduction parameter.
As a temporary fix it's enough to comment the following in urdf.py over here:
This works over here, because we never access the transmission definitions via urdfdom, but obviously it's just a hot fix, nothing more..
Because it's not possible to quickly overlay this ros-code in a uniform local workspace
(you just recently removed catkin support...),
it's pretty important to me to see this fixed in the official ros (ubuntu) packages soon
The text was updated successfully, but these errors were encountered: