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

Add camera support to jaxsim.mujoco visualizer #91

Merged
merged 6 commits into from
Mar 1, 2024
Merged

Conversation

flferretti
Copy link
Collaborator

@flferretti flferretti commented Feb 23, 2024

This PR adds support for camera visualization in jaxsim.mujoco. It includes the addition of a camera attribute to the worldbody element and updates to the MujocoVideoRecorder class to render frames using the specified camera.


📚 Documentation preview 📚: https://jaxsim--91.org.readthedocs.build//91/

@flferretti flferretti self-assigned this Feb 23, 2024
Copy link
Member

@diegoferigo diegoferigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had an early review, small suggestion.

Furthermore, can you please import MujocoVideoRecorder in jaxsim.mujoco.__init__.py? I just noticed that it's currently missing.

src/jaxsim/mujoco/loaders.py Show resolved Hide resolved
@flferretti flferretti marked this pull request as ready for review February 29, 2024 14:16
@flferretti flferretti merged commit d0f4d4e into main Mar 1, 2024
21 checks passed
@flferretti flferretti deleted the feature/camera branch March 1, 2024 10:03
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

Successfully merging this pull request may close these issues.

None yet

2 participants