Skip to content
Discussion options

You must be logged in to vote

Good question. mjlab does not have a wrapper for <general> actuators, and we don't plan to add one at this time. The reason is that <general> allows arbitrary gain/bias configurations, so there is no clean semantic for what the control input represents. The Xml* wrappers only cover the standard MuJoCo shortcuts where the control input has a clear meaning (desired position, desired velocity, desired force).

The Robotiq's <general> actuator is really just a PD controller with a rescaled control range. The [0, 255] input range exists (if I recall correctly) to match the real hardware interface, but under the hood the physics are:

force = kp * (scaled_ctrl - tendon_length) - kd * tendon_veloc…

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@CumulusAlpha
Comment options

@kevinzakka
Comment options

Answer selected by CumulusAlpha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #661 on February 23, 2026 01:55.