Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 2.11 KB

README.md

File metadata and controls

50 lines (32 loc) · 2.11 KB

Dynamic Swarms Crazyflies

A ROS2 stack for the Crazyflie Nanoquadcopter.

This software stack was designed and testet with ROS2Lyrical on Ubuntu 26.04.

The documentation can be found here: https://dynamicswarms.github.io/ds-crazyflies/

Warning

This software is currently under development. Breaking changes will happen.

Crazyflies

The crazyflies package allows the user to interchangeably use real hardware or a simulation. There are two implementations. You can either use a Crazyflie or a Safeflie. The Safeflie is a tuned down version of the crazyflie providing a topic "/cf_ID_/send_target" which allows to control the crazyflie without knowledge about the controller of the real hardware.

Usage

The framework.launch.py can be configured to use appropriate tracking hardware if real crazyflies are used. When launching this launch file the backend argument should be provided specifying if the simulation backend or the hardware backend shall be used.

Afterwards you can either implement your own node and either use or inherit from the Crazyflie or Safeflie class.

Implementations

There are currently 2 backends which are integrated into this software stack. Crazyflie Hardware Crazyflie Simulation

SITL

With the hardware backend it is also possible to use a SITL crazyflie. Checkout this repository for more information. (The crazyflie sitl can even be used with the official crazyflie-client-python)

Installation

We use vcs for subrepository management. However there is a convenience script, for choosing different implemententations to be installed.

The get started quickly:

git clone https://github.com/DynamicSwarms/ds-crazyflies.git
cd ds-crazyflies
./setup.sh simulation
source /opt/ros/lyrical/setup.bash
colcon build