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

How to modify Mujoco environments? #27

Open
trav1s opened this issue Jul 18, 2019 · 1 comment
Open

How to modify Mujoco environments? #27

trav1s opened this issue Jul 18, 2019 · 1 comment

Comments

@trav1s
Copy link

trav1s commented Jul 18, 2019

I am working on the environment InvertedPendulumMuJoCoEnv-v0 and would like to change some parameters, such as the size/mass of the pole. I traced the code, and it seems the relevant parameters are in pybulletgym/envs/assets/mjcf/inverted_pendulum.xml. However, after editing the xml, it doesn't seem like anything changes in simulation. What am I missing? Is there some procedure to make the modifications take effect?

Thank you so much for your work, I really appreciate it!

@benelot
Copy link
Owner

benelot commented Jul 14, 2020

Hi,

I am sorry I never answered your question, I must have missed it! There is a bigger, underlying problem, which is that not all definitions from within the xml are loaded to the simulation. This is due to the xml parser being reimplemented in pybullet and I am relying on that one. For this reason, I can not actually do much for you. You should open an issue at the pybulet repository requesting the option to get all those parameters either implemented or at least available to the pybullet environment.

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

2 participants