Using mjcb_act_dyn to model a custom actuator with non-linear dynamics/kinematics given a state-space model?
#3183
Unanswered
ralphieraccoon
asked this question in
Asking for Help
Replies: 0 comments
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
Hello, I'm a postdoc looking to move a model from Simscape to Mujoco.
My setup
Mujoco 3.6.0, Python 3.12, Ubuntu 24.04 Noble Numbat
My question
I'm trying to model an actuator in Mujoco using the state space model below:
where$\lambda$ is the actuator length, $u$ is the input, and $K_t, K_L, J, B, l_u, r_s, \omega_{s}, \alpha_{s}$ are all constants. $y$ is the actuator force.
Here it is in block diagram form in Simulink:
I was wondering exactly how this would be modelled in Mujoco, would you use
mjcb_act_dynor would a more complex solution be needed? Apologies, I'm very new to this.Minimal model and/or code that explain my question
Model:
minimal XML
Code:
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions