-
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: False errors reported when parsing urdf with <transmission> tags #36
Comments
Might be related, but test-driving
The only attribute named I haven't tried on a minimal single-joint example. |
I've added in a patch to set the default values for 'lower' and 'upper'. Thank you for reporting that! And Adolfo, I tried out parsing REEM after adding the default values in. It looks like
Sample bash session:
|
Sigh, this issue is having lots of ramifications. The correct behavior is to specify hardware interfaces under the To fix |
With #38 fixed, we can get back to the original subject (apologies for the detour):
It seems that the |
I think I'm running up against this. My PR2 URDF has, for example, <transmission name="l_wrist_trans" type="pr2_mechanism_model/WristTransmission">
<rightActuator mechanicalReduction="60.1714285714" name="l_wrist_r_motor"/>
<leftActuator mechanicalReduction="60.1714285714" name="l_wrist_l_motor"/>
<flexJoint mechanicalReduction="-1.0" name="l_wrist_flex_joint"/>
<rollJoint mechanicalReduction="1.0" name="l_wrist_roll_joint"/>
</transmission> and the error I get is.
It try to go up the stack trace to find out where in the file this error is, and I think it's in the part of the URDF I indicated above. As I indicated in #58, I am under Groovy, so the actual error I'm getting is
|
As far as I can tell, this should be fixed in #63. When can we expect a new release of urdfdom to fix this? |
The latest incarnation of the fix for this issue (#68) has been pushed to 0.2, 0.3 and master branch (targeting 0.4). Now that the fix has been backported I will try to release a new |
👍 |
If you try to parse an urdf with
urdf_parser_py
it throws an error if your<transmission><joint>..
tags don't have atype
attribute.This is an incorrect error, see http://wiki.ros.org/urdf/XML/Transmission
The text was updated successfully, but these errors were encountered: