mujoco icon indicating copy to clipboard operation
mujoco copied to clipboard

MJX implementation of mj_jacSubtreeCom

Open gautica opened this issue 1 year ago • 2 comments

The feature, motivation and pitch

I am working on implementing a whole-body-controller for bipedal robots. It is important to have the task for the angular and linear momentum for the Center-of-Mass. In mujoco, I can get such information from mj_jacSubtreeCom and mj_angmomMat. I would like to ask if it is possible to implement the two functions in MJX, or please give me some hints how to implement them. Thank you very much.

Alternatives

No response

Additional context

No response

gautica avatar Aug 31 '24 16:08 gautica

Hi @gautica , can you use subtreelinvel and subtreeangmom sensors recently added to MJX? Let us know if that's sufficient for your use-case

btaba avatar Sep 09 '24 18:09 btaba

@btaba hi, can you help regarding subtreelinvel? tried to use it but it is not going well. can you please check https://github.com/google-deepmind/mujoco/discussions/2147#discussion-7329000

thank you.

Rian-Jo avatar Oct 17 '24 06:10 Rian-Jo

Closing the issue, and replied on the discussion

btaba avatar Oct 24 '24 21:10 btaba