Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MJX implementation of mj_jacSubtreeCom #2035

Open
gautica opened this issue Aug 31, 2024 · 1 comment
Open

MJX implementation of mj_jacSubtreeCom #2035

gautica opened this issue Aug 31, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request MJX Using JAX to run on GPU

Comments

@gautica
Copy link

gautica commented Aug 31, 2024

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 gautica added the enhancement New feature or request label Aug 31, 2024
@kevinzakka kevinzakka added the MJX Using JAX to run on GPU label Aug 31, 2024
@btaba
Copy link
Contributor

btaba commented Sep 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request MJX Using JAX to run on GPU
Projects
None yet
Development

No branches or pull requests

4 participants