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

Allow changing marker/keypoint site render radius in mujoco_viz() #39

Open
charles-zhng opened this issue Aug 8, 2024 · 0 comments
Open
Assignees

Comments

@charles-zhng
Copy link
Collaborator

charles-zhng commented Aug 8, 2024

Currently, the radius for the spheres for marker and keypoints sites are set to 0.005m. For smaller models like the mouse model, this is too large. So add an optional argument to the create_site functions and in mujoco_viz() so that a user defined radius value can be passed.

https://github.com/talmolab/stac-mjx/blob/main/stac_mjx/controller.py#L67
https://github.com/talmolab/stac-mjx/blob/main/stac_mjx/controller.py#L113
https://github.com/talmolab/stac-mjx/blob/main/stac_mjx/viz.py#L312

@charles-zhng charles-zhng self-assigned this Aug 8, 2024
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