MjSpec.to_xml doesn't write inertial properties #2364
Replies: 1 comment
-
Looks like a bug. Please open a bug (rather than a discussion). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
Hi!
I'm a researcher/SWE experimenting with model building using the MjSpec python API.
My setup
MuJoCo 3.2.7, Python API, Ubuntu 22.04
My question
I tried creating a scene using mjspec but I noticed that none of the inertial properties (what would usually be in the
<inertial/>
tag) get written to xml. Filing it as a question here since I wasn't sure if this is intended behavior but it seems unintuitive. I couldn't find another way of accomplishing this in docs/source code (e.g. anadd_inertial
function) either. I added a minimum reproducible example below.Minimal model and/or code that explain my question
yields
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions