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

Feature requirement. Disable visualization for specific group defined in MJCF. #205

Open
Riften opened this issue Dec 21, 2024 · 0 comments

Comments

@Riften
Copy link

Riften commented Dec 21, 2024

Refer to Mujoco XMLReference, the group attribute of geom element is designed to

group: int, “0”
This attribute specifies an integer group to which the geom belongs. The only effect on the physics is at compile time, when body masses and inertias are inferred from geoms selected based on their group; see inertiagrouprange attribute of compiler. At runtime this attribute is used by the visualizer to enable and disable the rendering of entire geom groups. It can also be used as a tag for custom computations.

But I can not disable the visualization for certain group when loading MJCF through genesis.morphs.MJCF. Is there any plan to implement such a feature in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant