mjData::cfrc_ext vs. intuition for “external force” at COM: nonzero torque with an offset weld
#3199
Unanswered
wly2014
asked this question in
Asking for Help
Replies: 1 comment
-
|
Furthermore, another confusing phenomenon is that even when the absolute positions of the two boxes remain unchanged, changing the position of the weld site alters the internal and external forces on both the mobile body and box A. According to classical mechanics, if the relative positions of the boxes do not change, their forces should also remain unchanged? For example, another weld way: Output |
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.
-
Intro
Hi!
I am a researcher, I use MuJoCo for my research on robot control.
My setup
mujoco C++ 3.6
My question
Summary
In a minimal model (world anchor
site+ floatingbody+weld), as shown in figure A, after settling we readcfrc_extforbox_mobile(wrench about body COM, world frame,[τ_x,τ_y,τ_z,f_x,f_y,f_z]).τ_y ≈ 0.981), force partf_z ≈ 9.81(m = 1kg).[0,0,0 | 0,0,9.81](no torque, only a vertical force balancing gravity).Uncertainty: whether
cfrc_extshould represent only an “equivalent external force through the COM,” or whether it necessarily includes other moments.Thanks.
Minimal model and/or code that explain my question
Code
Model: (weld site on
box_mobileoffset from inertial bypos="0.1 0 0", mass 1 kg).Code:
Observed output
Typical output in steady state (e.g.
mj_step× 5000,timestep=1e-3):Thanks.
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions