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

Bitcraze Python bindings support #194

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,35 @@ python learn.py --multiagent true # task: 2-drone hover at z == 1.2 and 0.7

<img src="gym_pybullet_drones/assets/rl.gif" alt="rl example" width="375"> <img src="gym_pybullet_drones/assets/marl.gif" alt="marl example" width="375">

### utiasDSL `pycffirmware` Python Bindings example (multiplatform, single-drone)

Install [`pycffirmware`](https://github.com/utiasDSL/pycffirmware?tab=readme-ov-file#installation) for Ubuntu, macOS, or Windows

```sh
cd gym_pybullet_drones/examples/
python3 cff-dsl.py
```

### Bitcraze Python bindings example (Ubuntu only, multi-drone)

```sh
sudo apt update
sudo apt -y install swig
sudo apt-get install make gcc-arm-none-eabi
git clone --recursive https://github.com/bitcraze/crazyflie-firmware.git
cd crazyflie-firmware/
make cf2_defconfig
make -j 12
make bindings_python
cd build/
python3 setup.py install --user
```

```sh
cd gym_pybullet_drones/examples/
python3 cff-bit.py
```

### Betaflight SITL example (Ubuntu only)

```sh
Expand Down
Loading
Loading