-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fixes to the urdf to mjcf conversion #5
Conversation
urdf2mjcf/convert.py
Outdated
) | ||
|
||
# Add inertial properties to base body | ||
ET.SubElement( |
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.
remove this - this should be automatically computed
@@ -39,79 +39,81 @@ | |||
<body name="root" pos="0 0 0.63" quat="1 0 0 0"> | |||
<freejoint name="root" /> |
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 was created with new code but old urdf right?
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.
correct. the input was
urdf2mjcf/tests/sample/robot.urdf
lgtm |
Changes:
Add a "base" body to the root. TODO: how to correctly compute the inertial values
Correct the DOF caclulation
This should be run with