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

Added ability to give Mujoco initial conditions from the keyframes. #103

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

Zolkin1
Copy link
Collaborator

@Zolkin1 Zolkin1 commented Jul 26, 2024

Added ability to start simulation from Mujoco key frames.

Note that key frame are automatically checked for compatibility by Mujoco so there is no need to verify sizes.

Currently only support qpos, qvel, ctrl, and time.

@Zolkin1 Zolkin1 marked this pull request as ready for review July 26, 2024 17:30
@Zolkin1 Zolkin1 requested review from alberthli and gavin-hyl July 26, 2024 17:31
Copy link
Collaborator

@gavin-hyl gavin-hyl left a comment

Choose a reason for hiding this comment

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

Everything makes sense! One small question, why is the convention in this repo self.declare_parameter instead of just self.param = ...?

@gavin-hyl gavin-hyl merged commit 6296c0d into main Jul 29, 2024
1 check passed
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.

2 participants