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

env(zjow): add env gym_pybullet_drones #526

Merged
merged 16 commits into from
Nov 4, 2022

Conversation

zjowowen
Copy link
Collaborator

Description

Gym_pybullet_drones environment is added into DI-zoo.
Two simple built-in single-agent tasks are included, takeoff-aviary-v0 and flythrugate-aviary-v0.
Multi-agent tasks are temporarily not supported.

Related Issue

A special version of Gym_pybullet_drones repository for fixing video generation problems and gym>=0.25.0 is provided here:
https://github.com/zjowowen/gym-pybullet-drones/tree/gym-update

@zjowowen zjowowen added the env Questions about RL environment label Oct 28, 2022
@zjowowen zjowowen self-assigned this Oct 28, 2022
@codecov
Copy link

codecov bot commented Oct 28, 2022

Codecov Report

Merging #526 (28b08ec) into main (b22589c) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #526      +/-   ##
==========================================
- Coverage   85.48%   85.42%   -0.07%     
==========================================
  Files         526      526              
  Lines       43300    43311      +11     
==========================================
- Hits        37016    36999      -17     
- Misses       6284     6312      +28     
Flag Coverage Δ
unittests 85.42% <100.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
ding/entry/serial_entry_onpolicy.py 96.29% <100.00%> (+0.55%) ⬆️
ding/framework/message_queue/tests/test_redis.py 61.53% <0.00%> (-38.47%) ⬇️
ding/framework/message_queue/redis.py 77.35% <0.00%> (-5.67%) ⬇️
ding/framework/tests/test_parallel.py 92.52% <0.00%> (-3.74%) ⬇️
ding/envs/env_manager/subprocess_env_manager.py 76.56% <0.00%> (-0.80%) ⬇️
ding/league/player.py 95.31% <0.00%> (+0.78%) ⬆️
ding/worker/collector/marine_parallel_collector.py 91.24% <0.00%> (+1.38%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@PaParaZz1 PaParaZz1 changed the title zjow(env):Add env Gym_pybullet_drones env(zjow): add env gym_pybullet_drones Oct 31, 2022
dizoo/gym_pybullet_drones/config/flythrugate_ppo_config.py Outdated Show resolved Hide resolved
dizoo/gym_pybullet_drones/config/flythrugate_ppo_config.py Outdated Show resolved Hide resolved
dizoo/gym_pybullet_drones/config/flythrugate_ppo_config.py Outdated Show resolved Hide resolved
dizoo/gym_pybullet_drones/entry/flythrugate_ppo_eval.py Outdated Show resolved Hide resolved
dizoo/gym_pybullet_drones/envs/gym_pybullet_drones_env.py Outdated Show resolved Hide resolved
dizoo/gym_pybullet_drones/envs/test_ding_env.py Outdated Show resolved Hide resolved
dizoo/gym_pybullet_drones/envs/test_ori_env.py Outdated Show resolved Hide resolved
dizoo/gym_pybullet_drones/envs/test_ding_env.py Outdated Show resolved Hide resolved
dizoo/gym_pybullet_drones/envs/gym_pybullet_drones_env.py Outdated Show resolved Hide resolved
dizoo/gym_pybullet_drones/envs/gym_pybullet_drones_env.py Outdated Show resolved Hide resolved
}
else:
#TODO for multi drones envs
self.env_kwargs = {
Copy link
Member

Choose a reason for hiding this comment

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

写成default_config那种模式吧

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed.

dizoo/gym_pybullet_drones/envs/gym_pybullet_drones_env.py Outdated Show resolved Hide resolved
@PaParaZz1 PaParaZz1 merged commit 0f57ef4 into opendilab:main Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
env Questions about RL environment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants