Bodies with _only_ visual
geometry -- are they supposed to participate in the simulation?
#2207
Unanswered
rao94583
asked this question in
Asking for Help
Replies: 1 comment
-
Not exactly. A visual (non-colliding) geom could be used for inertia inference, and in that case would affect the physics. In the case you described, where inertia is explicit, this geom will indeed not affect the physics. To clarify further, geoms can affect the physics in 3 unrelated ways:
As you see, the notion of "visual geom" which comes from URDF, is not really a helpful one and should be avoided. For example a geom that URDF would call visual will affect sensor values if a ray is cast upon it. Does that count as "affecting the physics"? 🤷🏼♂️ |
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
-
Intro
We're using MuJoCo for some robotics research (but then again, who isn't?)
My setup
MuJoCo on MacOS and Ubuntu.
My question
In the
ur5e.xml
file inmujoco_menagerie
, there are abody
element (base
) that contains only aninertial
element and ageom
element of classvisual
. I think this means that only theinertial
element interacts with the physics engine, and the geometry is only used for visualization. And this further implies that a body must contain at least aninertial
element, or a single non-visualgeom
element.Am I thinking about this right?
Minimal model and/or code that explain my question
https://github.com/google-deepmind/mujoco_menagerie/blob/main/universal_robots_ur5e/ur5e.xml
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions