在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):lis-epfl/swarmlab开源软件地址(OpenSource Url):https://github.com/lis-epfl/swarmlab开源编程语言(OpenSource Language):MATLAB 100.0%开源软件介绍(OpenSource Introduction):SwarmLabSwarmLab is a drone swarm simulator written in Matlab. It aims at:
This software is designed with versatility and scalability in mind. It allows for fast programming and easy incorporation of various modules designed for drone and drone swarm simulations. It also decreases the coding effort by offering built-in and ready-to-use functionalities. These features make this package suitable to different applications in the area of drones and swarm robotics, including fast algorithm development, training, education, and the automatic collection of simulated data. RequirementsOnly Matlab installation is required with the Statistics and Machine Learning Toolbox. 1. Single-drone simulationsSingle-drone simulations exploit the architecture proposed by Professors Beard and McLain in Small unmanned aircraft: theory and practice and illustrated below. The focus of these simulations is realism. Their code is available here. Two drone-types are supported: quadcopter and fixed-wing drones. GraphicsThe graphical tools supported for single drone simulations are:
ExamplesThe following examples are provided:
GUIFor ease of use, single-drone simulations can also be run from a dedicated GUI, that allows to change a selection of parameters, e.g. drone type, simulation type, debugging plots, simulation time. 2. Drone-swarm simulationsDrone swarm simulations exploit either the Olfati-Saber or the Vicsek (Vásárhelyi’s version) algorithms. The focus of these simulations is the behaviour of the group of drones, as a result of interactions among individuals. In this case, quadcopter and point-mass (featuring no vehicle dynamics) are supported. The latter can be used when computational time requirements prevail over simulation realism, or when the interest relies in the pure collective behavior, independently on the agents' dyanamics. GraphicsThe graphical tools supported for drone swarm simulations are:
ExamplesThe following examples are provided:
The following illustrations represent:
GUIAlso drone-swarm simulations can be run from a dedicated GUI. In this case, parameters that can be set are: drone types, simulation time, debug plotting, map plotting, number of agents of the swarm, swarming algorithm, preferred inter-agent distance, preferred orientation, preferred speed. The GUI allows for run-time changes of some parameters, such as the swarm direction. Basic usageTo start off with your first drone swarm simulation, open the project folder swarmlab in Matlab (see picture aside). Then, add all folders and subfolders to the current path (select the swarmlab folder → right-click → Add to Path → Selected Folders and Subfolders). You have two ways of running your simulations, either via the provided GUIs or by calling an example script.
Finally, simply run the script and pay attention to the prompted instructions! AcknowledgementsThanks to Victor Delafontaine, Andrea Giordano, and Anthony De Bortoli for their valuable contribution. Thanks to Dario Floreano and Fabrizio Schiano for their wise advice. ReferencePlease, cite us with:
LicensingThis software is provided under MIT License (MIT). Copyright (c) 2020 Enrica Soria. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论