Skip to content

Commit

Permalink
running pid.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JacopoPan committed Apr 15, 2023
1 parent ca1feec commit 1d2643f
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
# gym-pybullet-drones

2023 remastering
![video](files/readme_images/helix.gif) ![control](files/readme_images/helix.png)

## Installation

TBD

```sh
tbd
git clone https://github.com/utiasDSL/gym-pybullet-drones.git
cd gym-pybullet-drones/

conda create -n drones python=3.10
conda activate drones

pip3 install --upgrade pip
pip3 install -e .
```

## Use

TBD

```sh
tbd
cd gym_pybullet_drones/examples/
python3 pid.py
```

## Citation

If you wish, please cite our work [(link)](https://arxiv.org/abs/2103.02142) as
If you wish, please cite [our IROS 2021 paper](https://arxiv.org/abs/2103.02142) as

```bibtex
@INPROCEEDINGS{panerati2021learning,
Expand All @@ -30,8 +34,8 @@ If you wish, please cite our work [(link)](https://arxiv.org/abs/2103.02142) as
year={2021},
volume={},
number={},
pages={},
doi={}
pages={7512-7519},
doi={10.1109/IROS51168.2021.9635857}
}
```

Expand Down
1 change: 0 additions & 1 deletion gym_pybullet_drones/envs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from gym_pybullet_drones.envs.CtrlAviary import CtrlAviary
from gym_pybullet_drones.envs.DynAviary import DynAviary
from gym_pybullet_drones.envs.VelocityAviary import VelocityAviary
from gym_pybullet_drones.envs.VisionAviary import VisionAviary
16 changes: 6 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,13 @@ packages = [

[tool.poetry.dependencies]
python = "^3.8"
numpy = "^1.22"
Pillow = "^9.0"
matplotlib = "^3.5"
cycler = "^0.10"
numpy = "^1.24"
scipy = "^1.10"
matplotlib = "^3.7"
pybullet = "^3.2.5"
stable-baselines3 = "^1.8.0"
torch = "^2.0.0"
gym = "^0.21"
pybullet = "^3.2"
stable-baselines3 = "1.5.0"
scipy = "^1.8"
torch = "1.11.0"
"ray[rllib]" = "1.9"
tensorboard = "^2.9"

[tool.poetry.dev-dependencies]

Expand Down
14 changes: 3 additions & 11 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
def test_compare():
from gym_pybullet_drones.examples.compare import run
run(gui=False,plot=False,output_folder='tmp')

def test_downwash():
from gym_pybullet_drones.examples.downwash import run
run(gui=False,plot=False,output_folder='tmp')

def test_fly():
from gym_pybullet_drones.examples.fly import run
run(gui=False,plot=False,output_folder='tmp')

def test_groundeffect():
from gym_pybullet_drones.examples.groundeffect import run
from gym_pybullet_drones.examples.pid import run
run(gui=False,plot=False,output_folder='tmp')

def test_learn():
from gym_pybullet_drones.examples.learn import run
from gym_pybullet_drones.examples.learning.learn import run
run(gui=False,plot=False,output_folder='tmp')

def test_velocity():
from gym_pybullet_drones.examples.velocity import run
from gym_pybullet_drones.examples.pid_velocity import run
run(gui=False,plot=False,output_folder='tmp')
28 changes: 0 additions & 28 deletions tests/test_experiments.py

This file was deleted.

0 comments on commit 1d2643f

Please sign in to comment.