MJX: Mocap Position Control | Direct Force Control #3035
Unanswered
NadeenElh
asked this question in
Asking for Help
Replies: 1 comment 1 reply
-
|
Updating You can apply forces directly via I don't think |
Beta Was this translation helpful? Give feedback.
1 reply
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 graduate student and I use MuJoCo for my research. Recently, I've been trying to transition to MJX for parallelization and large-scale domain randomization.
My setup
MuJoCo 3.4.0
My question
In classic MuJoCo, a mocap body can be used for position control where the mocap pos/quat assigning function generates a force that works on reducing the distance function between current mocap pos/quat and desired ones. Due to this generation of force, physics can also measure resulting contact and forces. Is this directly transferred to MJX, with MJX's limited contact behavior?
In classic MuJoCo, direct force control can work on an object by directly applying an external force to a specified point. Same reaction force physics appear because as a result. Is this also viable in MJX?
In both control systems, is "mjx.rne_postconstraint(mjx_model, mjx_data)" also required after stepping?
Thank you in advance.
Minimal model and/or code that explain my question
No response
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions