CrazySim: A Software-in-the-Loop Simulator for the Crazyflie Nano Quadrotor
Authors:
- 13 May 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 12248-12254
Abstract
In this work we develop a software-in-the-loop simulator platform for Crazyflie nano quadrotor drone fleets. One of the challenges in maintaining a large fleet of drones is ensuring that the fleet performs its task as expected without collision, and this becomes more challenging as the number of drones scales, possibly into the hundreds. Software-in-the-loop simulation is an important component in verifying that drone fleets operate correctly and can significantly reduce development time. The simulator interface that we develop runs an instance of the Crazyflie flight stack firmware for each individual drone on a commercial, desktop machine along with a sensors and communication plugin on Gazebo Sim. The plugin transmits simulated sensor information to the firmware along with a socket link interface to run external scripts that would be run on a ground station during hardware deployment. The plugin simulates a radio communication delay between the drones and the ground station to test offboard control algorithms and high-level fleet commands. To validate the proposed simulator, we provide a case study of decentralized model predictive control (MPC) that is run on a ground station to command a fleet of sixteen drones to follow a specified trajectory. We first run the controller on the simulator interface to verify performance and robustness of the algorithm before deployment to a Crazyflie hardware experiment in the Georgia Tech Robotarium.Keywords
Funding Information
- National Science Foundation
- Sandia National Laboratories
- U.S. Department of Energy
This publication has 11 references indexed in Scilit:
- Robot Operating System 2: Design, architecture, and uses in the wildScience Robotics, 2022
- MICRO AND MACRO QUADCOPTER DRONES FOR INDOOR MAPPING TO SUPPORT DISASTER MANAGEMENTISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 2022
- acados—a modular open-source framework for fast embedded optimal controlMathematical Programming Computation, 2021
- An Efficient Real-Time NMPC for Quadrotor Position Control under Communication Time-Delay2020
- Minimal navigation solution for a swarm of tiny flying robots to explore an unknown environmentScience Robotics, 2019
- CrazyS: A Software-in-the-Loop Simulation Platform for the Crazyflie 2.0 Nano-Quadcopter2019
- Onboard State Dependent LQR for Agile Quadrotors2018
- Crazyflie 2.0 quadrotor as a platform for research and education in robotics and control engineering2017
- Thrust Mixing, Saturation, and Body-Rate Control for Accurate Aggressive Quadrotor FlightIEEE Robotics and Automation Letters, 2016
- PX4: A node-based multithreaded open source robotics framework for deeply embedded platforms2015