Skip to main content

Crazyflie UAV simulation based on the PyFlyt library

Project description

CrazyFlyt

This library very much in the developmental stage

This is a library for flying real CrazyFlie 2.x drones with support for a simulation environment via the PyFlyt library. Example scripts are provided under examples/***.py.

The library is built using CrazyFlie drones, check out the documentation.

Simulation Only

sim_single.py

Simulates a single drone in the pybullet env with position control.

sim_swarm.py

Simulates a swarm of drones in the pybullet env with velocity control.

sim_cube.py

Simulates a swarm of drones in a spinning cube.

Hardware Only

fly_single.py

Flies a real Crazyflie, check out the documentation and how to connect to get your URI(s) and modify them in line 18.

fly_swarm.py

Flies a real Crazyflie swarm, same as the previous example, but now takes in a list of URIs.

Simulation or Hardware

sim_n_fly_single.py

Simple script that can be used to fly a single crazyflie in sim or with a real drone using either the --hardware or --simulate args.

sim_n_fly_multiple.py

Simple script that can be used to fly a swarm of crazyflies in sim or with real drones using either the --hardware or --simulate args.

sim_n_fly_cube_from_scratch.py

Simple script that can be used to fly a swarm of crazyflies in sim or with real drones using either the --hardware or --simulate args, and forms the same spinning cube from takeoff as in sim_cube.py.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CrazyFlyt-0.0.2.tar.gz (113.5 kB view details)

Uploaded Source

Built Distribution

CrazyFlyt-0.0.2-py3-none-any.whl (116.0 kB view details)

Uploaded Python 3

File details

Details for the file CrazyFlyt-0.0.2.tar.gz.

File metadata

  • Download URL: CrazyFlyt-0.0.2.tar.gz
  • Upload date:
  • Size: 113.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for CrazyFlyt-0.0.2.tar.gz
Algorithm Hash digest
SHA256 41061751a2c7769e8000a09d5abe67df3e14a150ca33228f5c07f889055ab027
MD5 8c381b16b3e94c7793c6834a15e80142
BLAKE2b-256 5f0041db316d476c0da4a92bc43773d78faa464a82f9b85c8f64a2fe171fdd23

See more details on using hashes here.

File details

Details for the file CrazyFlyt-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: CrazyFlyt-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 116.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for CrazyFlyt-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6db7793657a64f7e06baeecfb2b5b9da4c97abcfaf623d161bb61aa3d1332772
MD5 b821c56274ea5372f949e764079f32e9
BLAKE2b-256 f675871265a86667ff53fe9c33581ceb2b561f0b3cb9c03472dafd32c32d8af9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page