Skip to content

A system level simulator for the Internet of Drones, based on ns-3

License

Notifications You must be signed in to change notification settings

LABORA-INF-UFG/IoD_Sim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoD_Sim

IoD_Sim is an open source and system-level simulator for the IoD (Internet of Drones).

Developed on top of the well-known ns-3 (Network Simulator 3), it implements the key networking elements (drones, network access points, and Zone Service Provider), a standard-compliant communication stack based on the IEEE 802.11 technology, and scenarios with various mobility models.

The source code presents the implementation of models and examples scripts, also known as scenarios, that use such models to simulate a variable number of drones that:

  • Move according to the mobility model associated to the reference scenario.
  • Exchange messages with network access points deployed on a generic and flat 3D space.

The IoD_Sim repository is where this software is developed and there are many ways in which you can participate in the project, for example:

IoD_Sim is primarily compatible with Linux-based operating systems. You can test it on macOS, altough we are not focused on providing first-class support for it. For macOS, Windows, or any other operating system, you are encouraged to use Docker, WSL or any other (pseudo)virtualization platform that can provide you a stable Linux-based work environment. You are welcome to provide new compatibility solutions any time.

For more details, a dedicated publication that describes the entire simulation platform is available on arXiv.

Want to build scenarios through a GUI? Airflow is a Visual Programming Editor ad-hoc for IoD_Sim! It relies on splash to transpile C++ models in Python visual blocks.

Getting Started

The following quick start has been tested on Ubuntu 22.04 LTS. Please note that this process may be similar in other distros as well. In case of any difficulties, you are welcome to raise a pull request and propose some adjustments.

First of all, clone this repository, then open the folder with VSCode and execute the following tasks:

  1. Install dependencies,
  2. Integrate IoD Sim with ns3
  3. Configure IoD Sim
  4. Build IoD Sim

Otherwise, run the following commands:

./tools/install-dependencies.sh
./tools/prepare-ns3.sh
cd ns3/
./ns3 configure --build-profile=debug --enable-examples --disable-mpi --disable-python --enable-modules=iodsim
./ns3 build

To run a JSON scenario configuration, execute the following command:

cd ns3/
./ns3 run "iodsim --config=../scenario/simple_wifi.json"

License

Copyright (C) 2018-2023 The IoD_Sim Authors.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

About

A system level simulator for the Internet of Drones, based on ns-3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 78.6%
  • C++ 17.7%
  • Python 2.9%
  • MATLAB 0.4%
  • CMake 0.2%
  • Shell 0.2%