Skip to content
/ ArduSim Public

Ardusim. Accurate and real-time multi-UAV simulation

Notifications You must be signed in to change notification settings

GRCDEV/ArduSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArduSim

ArduSim is a novel real-time flight simulator, oriented to the development of flight coordination protocols for multicopters, performing planned missions or forming a swarm. It is able to simulate up to multiple UAVs (aka. drones) simultaneously, the number of UAVs that can be simulated are mainly restricted by the PC that is used. ArduSim simulates a wireless Ad-hoc network for UAV-to-UAV communications. Among many information, ArduSim generates the path followed by each UAV in OMNeT++ and NS2 format to provide mobility traces, performing a simulation or even when running ArduSim in a real multicopter.

The communication with multicopters uses the MAVLink protocol, a de facto standard for current open flight controllers, which makes the deployment of a new protocol on real UAVs a trivial task.

The communication among multicopters emulates an Ad-hoc WiFi network link in the 5 GHz frequency band, where all the data packets are broadcasted. ArduSim is prepared to include new wireless models in future versions.

Ardusim was developed by Francisco Fabra, at that time a Phd student in the Grupo de Redes de Computadores (GRC) research group of Departamento de Informática de Sistemas y Computadores (DISCA) department of Universitat Politècnica de València university. Supervisor: Carlos T. Calafate. Currently it is maintained by Jamie Wubben under the same affiliation and the same supervisor.

As an example of the capabilities of ArduSim, the next picture shows 72 multicopters following elliptical missions like electrons of an atom. The background image is built with Bing Maps. You can use Open Street Maps, or Bing images. The later requires to put a valid user key in ardusim.ini file, which can be obtained for free with any Microsoft account following this link.

Ejemplo ArduSim

We highly recommend to read the full documentation at least once before starting a new protocol.

Table of contents

ArduSim setup

Protocol development

ArduSim usage

Deployment on real devices

Citation

Copyright information

ArduSim setup

ArduSim supports running on Windows, Linux, and MacOS. Follow this link for detailed instructions.

Protocol development

Follow this link for detailed instructions.

ArduSim usage

Follow this link for detailed instructions.

Deployment on real devices - Raspberry Pi 3 B+

You can deploy the implemented protocol on real UAVs just changing the ArduSim execution parameters, as explained in the previous section.

Follow this link for detailed instructions.

Citation

The article ArduSim: Accurate and real-time multicopter simulation was published in the journal Simulation Modelling Practice and Theory (SIMPAT) detailing most characteristics of ArduSim and validating its performance. Since then, many improvements have been made, including traces output in OMNeT++ and NS2 format.

If you plan to use ArduSim in your projects, please cite this repository and the journal article.

Copyright information

ArduSim is published under Apache License 2.0. Some third part libraries were used and are under their own license as detailed:

ArduPilot is the single UAV simulator ArduSim is based on, and is built under the GNU General Public License v3.0.

MAVLink libraries are used to communicate with real or virtual flight controller in native language and are built with MAVLink Java generator and library tool. MAVLink message definition XML files are under the MIT-licence.

The AtomicFloat implementation comes from Makoto YUI and under Apache license.

The AtomicDoubleArray implementation comes from Doug Lea and under CC0 1.0 Universal license, and is based on Guava from Google, which is under Apache license.

The VerticalFlowLayout implementation comes from Vassili Dzuba and under Artistic License.

Kryo library is used to serialize transferred data and under BSD 3-clause license, and requires three libraries: minlog and reflectASM under the same license, and objenesis under Apache license.

javatuples is used to return multiple values on functions and under Apache license.

jSerialComm is used to communicate with a real flight controller through serial port and under LGPL v 3.0 license and Apache license.

Statistical Machine Intelligence and Learning Engine (Smile) is used for the protocol Chemotaxis (core, data, interpolation and math modules) and under Apache license.

Sigar is used to measure CPU ussage under Windows and is under Apache license.

About

Ardusim. Accurate and real-time multi-UAV simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages