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

Can we move a model in the environment using the keyboard #741

Closed
rajuptvs opened this issue Feb 19, 2023 · 2 comments
Closed

Can we move a model in the environment using the keyboard #741

rajuptvs opened this issue Feb 19, 2023 · 2 comments
Labels
question Request for help or information

Comments

@rajuptvs
Copy link

Hello everybody,

We are trying to create an environment in which a model can be moved using the keyboard inputs (W,A,S,D), I am completely new to the mujoco, looked at the documentation but couldn't find any relevant info.

Would be really helpful and appreciate if someone who has already worked on this could give us pointers on which documentation provides the info for using keyboard to move the model.

Thanking you in advance

@rajuptvs rajuptvs added the question Request for help or information label Feb 19, 2023
@Balint-H
Copy link
Collaborator

Balint-H commented Feb 21, 2023

Pranav Bhounsule's tutorial series covers interactive control of mujoco scenes with both python and c/c++ well. (E.g. lecture 7 for the python course). I'm not sure what is the best way to implement handling glfw events with the newer and otherwise more streamlined mujoco.viewer method.

If your project relies extensively on user interfacing, then I can also recommend considering the Unity plugin for developing interactive MuJoCo scenes.

@rajuptvs
Copy link
Author

@Balint-H Thanks a lot, this worked. ,

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

No branches or pull requests

2 participants