-
-
Notifications
You must be signed in to change notification settings - Fork 128
add MaMuJoCo-v1 environments
#196
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
Merged
rodrigodelazcano
merged 175 commits into
Farama-Foundation:main
from
Kallinteris-Andreas:mmjc-v1
Feb 19, 2024
Merged
add MaMuJoCo-v1 environments
#196
rodrigodelazcano
merged 175 commits into
Farama-Foundation:main
from
Kallinteris-Andreas:mmjc-v1
Feb 19, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`gymnasium==1.0` support (Farama-Foundation#211)
Collaborator
Author
|
@rodrigodelazcano needs a review |
gymnasium_robotics/envs/multiagent_mujoco/many_segment_swimmer.py
Outdated
Show resolved
Hide resolved
rodrigodelazcano
approved these changes
Feb 18, 2024
Member
rodrigodelazcano
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some minor wording changes in the docs. Otherwise LGTM!
Collaborator
Author
|
@rodrigodelazcano I applied your suggestions, and updated the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note: this may be merged post gymnasium 1.0.0
Description
This is a small release for
MaMuJoCo, mainly updates toGymnasium/MuJoCo-v5, along with fixing some bugs and cleaning up the code, optimizing the performance of some components, and taking this opportunity to strengthen the unit test cases.MaMuJoCo-V1
Gymnasium/MuJoCo-v5instead ofGymnasium/MuJoCo-v4(Add MuJoCo v5 environments Gymnasium#572).factorizatoion=None, theenv.gent_action_partitions.dummy_nodenow containsaction_id(it used to beNone).map_local_observations_to_global_state& optimized runtime performance ofmap_global_state_to_local_observations.gym_envargument, which can be used to load third-partyGymansium.MujocoEnvenvironments.Ant
local_categoriesofcfrc_extby default (same asGymnasium/MuJoCo-v5/Ant).torso→root.Humanoid(-Standup)
qfrc_actuatorofroot&cinert,cvel,qfrc_actuator,cfrc_extofworldbody(same asGymnasium/MuJoCo-v5/Humanoid(-Standup)).Walker2d
[root_x, root_z, root_y](used to be[root_x, root_x, root_z]).ManySegmentAnt
frame_skipdefault set to5(same asGymnasium/Ant).option.timestepset to0.01(same asGymnasium/Ant).Gymnasium/Ant.cfrc_extby default, (same as Gymnasium/MuJoCo-v5).ManySegmentSwimmer
option.timestepasGymansum/Swimmer(0.01).mujoco>=3.0.0.Implementation details (not relevant for the end user)
obsk._observation_structure(), it now usesMujocoEnv.observation_structure.ManySegmentAntandManySegmentSwimmerclasses (instead thexml_fileargument is used withGymnasium/MuJoCo/Ant-v5andGymnasium/MuJoCo/Swimmer-v5frameworks)._generate_local_categoriescode and removed_generate_global_categories().seed()function.MultiAgentMujocoEnv.__init__().gynmansium==1.0.0API (breaks withgymnasium<1.0.0)Jinja2library requirement is now optionalNote only
map_global_state_to_local_observationshas been reworkedOther
Type of change
Please delete options that are not relevant.
Checklist:
pre-commitchecks withpre-commit run --all-files(seeCONTRIBUTING.mdinstructions to set it up)