CrazyS: A Software-in-the-Loop Simulation Platform for the Crazyflie 2.0 Nano-Quadcopter

This chapter proposes a typical use case dealing with the physical simulation of autonomous robots (specifically, quadrotors) and their interfacing through ROS (Robot Operating System). In particular, we propose CrazyS, an extension of the ROS package RotorS, aimed to modeling, developing and integrating the Crazyflie 2.0 nano-quadcopter in the physics based simulation environment Gazebo. Such simulation platform allows to understand quickly the behavior of the flight control system by comparing and evaluating different indoor and outdoor scenarios, with a details level quite close to reality. The proposed extension, running on Kinetic Kame ROS version but fully compatible with the Indigo Igloo one, expands the RotorS capabilities by considering the Crazyflie 2.0 physical model, its flight control system and the Crazyflie’s on-board IMU, as well. A simple case study has been considered in order to show how the package works and how the dynamical model interacts with the control architecture of the quadcopter. The contribution can be also considered as a reference guide for expanding the RotorS functionalities in the UAVs field, by facilitating the integration of new aircrafts. We rel5,eased the software as open-source code, thus making it available for scientific and educational activities.

[1]  Oskar von Stryk,et al.  Comprehensive Simulation of Quadrotor UAVs Using ROS and Gazebo , 2012, SIMPAR.

[2]  Davi Ferreira de Castro,et al.  A Software-in-the-Loop Simulation Scheme for Position Formation Flight of Multicopters , 2016 .

[3]  Jun Xu,et al.  Animal monitoring with unmanned aerial vehicle-aided wireless sensor networks , 2015, 2015 IEEE 40th Conference on Local Computer Networks (LCN).

[4]  Bensebaa Kamel,et al.  Position estimation of autonomous aerial navigation based on Hough transform and Harris corners detection , 2010 .

[5]  Sebastian G. Elbaum,et al.  On crop height estimation with UAVs , 2014, 2014 IEEE/RSJ International Conference on Intelligent Robots and Systems.

[6]  Herman Van der AuweraerJan Virtual engineering at work: the challenges for designing mechatronic products , 2013 .

[7]  Roland Siegwart,et al.  Vision-Controlled Micro Flying Robots: From System Design to Autonomous Navigation and Mapping in GPS-Denied Environments , 2014, IEEE Robotics & Automation Magazine.

[8]  D. Erdos,et al.  An experimental UAV system for search and rescue challenge , 2013, IEEE Aerospace and Electronic Systems Magazine.

[9]  Julian Förster,et al.  System Identification of the Crazyflie 2.0 Nano Quadrocopter , 2015 .

[11]  Claire J. Tomlin,et al.  Learning quadrotor dynamics using neural network for flight control , 2016, 2016 IEEE 55th Conference on Decision and Control (CDC).

[12]  Vijay Kumar,et al.  Minimum snap trajectory generation and control for quadrotors , 2011, 2011 IEEE International Conference on Robotics and Automation.

[13]  Alonzo Kelly,et al.  Construction and validation of a high fidelity simulator for a planar range sensor , 2015, 2015 IEEE International Conference on Robotics and Automation (ICRA).

[14]  Vijay Kumar,et al.  Visual Inertial Odometry Swarm: An Autonomous Swarm of Vision-Based Quadrotors , 2018, IEEE Robotics and Automation Letters.

[15]  Roland Siegwart,et al.  Mapping on the Fly: Real-Time 3D Dense Reconstruction, Digital Surface Map and Incremental Orthomosaic Generation for Unmanned Aerial Vehicles , 2017, FSR.

[16]  Wolfgang Hönig,et al.  Flying Multiple UAVs Using ROS , 2017 .

[17]  Paul G. Kry,et al.  Tethered flight control of a small quadrotor robot for stippling , 2017, 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS).

[18]  Olivier Michel,et al.  Cyberbotics Ltd. Webots™: Professional Mobile Robot Simulation , 2004 .

[19]  S. Islam,et al.  Adaptive sliding mode control design for quadrotor unmanned aerial vehicle , 2015, 2015 International Conference on Unmanned Aircraft Systems (ICUAS).

[20]  Muye Pang,et al.  IMU Performance Analysis for a Pedestrian Tracker , 2017, ICIRA.

[21]  Giri P. Subramanian Nonlinear control strategies for quadrotors and CubeSats , 2015 .

[22]  Alireza Roudbari,et al.  Software in the loop framework for the performance assessment of a navigation and control system of an unmanned aerial vehicle , 2018, IEEE Aerospace and Electronic Systems Magazine.

[23]  Luigi Iannelli,et al.  CrazyS: A Software-In-The-Loop Platform for the Crazyflie 2.0 Nano-Quadcopter , 2018, 2018 26th Mediterranean Conference on Control and Automation (MED).

[24]  Wojciech Giernacki,et al.  Crazyflie 2.0 quadrotor as a platform for research and education in robotics and control engineering , 2017, 2017 22nd International Conference on Methods and Models in Automation and Robotics (MMAR).

[25]  Nathan Bucki,et al.  Improved Quadcopter Disturbance Rejection Using Added Angular Momentum , 2018, 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS).

[26]  Paolo Valigi,et al.  Toward Domain Independence for Learning-Based Monocular Depth Estimation , 2017, IEEE Robotics and Automation Letters.

[27]  Ashutosh Saxena,et al.  Autonomous MAV flight in indoor environments using single image perspective cues , 2011, 2011 IEEE International Conference on Robotics and Automation.

[28]  Gaurav S. Sukhatme,et al.  State estimation of an autonomous helicopter using Kalman filtering , 1999, Proceedings 1999 IEEE/RSJ International Conference on Intelligent Robots and Systems. Human and Environment Friendly Robots with High Intelligence and Emotional Quotients (Cat. No.99CH36289).

[29]  Anuradha M. Annaswamy,et al.  Adaptive Control of Quadrotor UAVs: A Design Trade Study With Flight Evaluations , 2013, IEEE Transactions on Control Systems Technology.

[30]  Carol J. Friedland,et al.  High Resolution Imagery Collection for Post-Disaster Studies Utilizing Unmanned Aircraft Systems (UAS) , 2014 .

[31]  Michael G. Hinchey,et al.  Model-Based Verification of Embedded Software , 2009, Computer.

[32]  Gilberto Echeverria,et al.  Modular open robots simulation engine: MORSE , 2011, 2011 IEEE International Conference on Robotics and Automation.

[33]  Leobardo Emmanuel Campos-Macias,et al.  A Hybrid Method for Online Trajectory Planning of Mobile Robots in Cluttered Environments , 2017, IEEE Robotics and Automation Letters.

[34]  Eung-Kon Kim,et al.  Image Acquisition System for Construction Inspection Based on Small Unmanned Aerial Vehicle , 2015 .

[35]  James J. Kuffner,et al.  OpenRAVE: A Planning Architecture for Autonomous Robotics , 2008 .

[36]  Mark W. Mueller,et al.  Fusing ultra-wideband range measurements with accelerometers and rate gyroscopes for quadrocopter state estimation , 2015, 2015 IEEE International Conference on Robotics and Automation (ICRA).

[37]  Chen-Ming Kuo,et al.  Unmanned Aircraft Systems for Remote Building Inspection and Monitoring , 2012 .

[38]  Marc Pollefeys,et al.  Vision-based autonomous mapping and exploration using a quadrotor MAV , 2012, 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems.

[39]  Peter I. Corke,et al.  Low-cost flight control system for a small autonomous helicopter , 2003, 2003 IEEE International Conference on Robotics and Automation (Cat. No.03CH37422).

[40]  Sebastian Madgwick,et al.  Estimation of IMU and MARG orientation using a gradient descent algorithm , 2011, 2011 IEEE International Conference on Rehabilitation Robotics.

[41]  Roland Siegwart,et al.  RotorS—A Modular Gazebo MAV Simulator Framework , 2016 .

[42]  Mark T. Bolas,et al.  Mixed reality for robotics , 2015, 2015 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS).

[43]  G. Oriolo,et al.  Robotics: Modelling, Planning and Control , 2008 .

[44]  Ashish Kapoor,et al.  AirSim: High-Fidelity Visual and Physical Simulation for Autonomous Vehicles , 2017, FSR.

[45]  Roland Siegwart,et al.  Extending kalibr: Calibrating the extrinsics of multiple IMUs and of individual axes , 2016, 2016 IEEE International Conference on Robotics and Automation (ICRA).

[46]  Andrew Howard,et al.  Design and use paradigms for Gazebo, an open-source multi-robot simulator , 2004, 2004 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (IEEE Cat. No.04CH37566).

[47]  Jerome Le Ny,et al.  Design of a Trajectory Tracking Controller for a Nanoquadcopter , 2016, ArXiv.

[48]  Konstantinos Kanistras,et al.  A survey of unmanned aerial vehicles (UAVs) for traffic monitoring , 2013, 2013 International Conference on Unmanned Aircraft Systems (ICUAS).

[49]  Olivier Michel,et al.  Cyberbotics Ltd. Webots™: Professional Mobile Robot Simulation , 2004, ArXiv.

[50]  Daniela Rus,et al.  Multi-robot path planning for a swarm of robots that can both fly and drive , 2017, 2017 IEEE International Conference on Robotics and Automation (ICRA).

[51]  Daniel Cremers,et al.  Visual-Inertial Navigation for a Camera-Equipped 25g Nano-Quadrotor , 2014 .

[52]  Tarek M. Sobh,et al.  Robotics Middleware: A Comprehensive Literature Survey and Attribute-Based Bibliography , 2012, J. Robotics.

[53]  Surya P. N. Singh,et al.  V-REP: A versatile and scalable robot simulation framework , 2013, 2013 IEEE/RSJ International Conference on Intelligent Robots and Systems.

[54]  Roland Siegwart,et al.  Vision based MAV navigation in unknown and unstructured environments , 2010, 2010 IEEE International Conference on Robotics and Automation.

[55]  Karl Hedrick,et al.  Dynamic surface control techniques applied to horizontal position control of a quadrotor , 2016, 2016 20th International Conference on System Theory, Control and Computing (ICSTCC).

[56]  Larry H. Matthies,et al.  Stereo vision-based obstacle avoidance for micro air vehicles using disparity space , 2014, 2014 IEEE International Conference on Robotics and Automation (ICRA).

[57]  Gaurav S. Sukhatme,et al.  Crazyswarm: A large nano-quadcopter swarm , 2017, 2017 IEEE International Conference on Robotics and Automation (ICRA).