top of page
Writer's pictureDr. Daniel Dimanov

Mastering Drone Simulation: A Step-by-Step Guide to Using Microsoft's AirSim

In an era where technology continually reshapes industries, the role of autonomous drones has become increasingly significant. These versatile machines are revolutionising sectors such as defence, agriculture, and firefighting, photography, search and rescue and much more. In defence, drones conduct surveillance and reconnaissance missions with unprecedented efficiency. In agriculture, they monitor crop health and optimise farming practices. Firefighting teams deploy drones to assess fire conditions and locate survivors quickly. These examples illustrate the transformative potential of drones, which is why the UK's Defence and Security Accelerator (DASA) has prioritised new UAS navigation solutions in their call for novel technologies. You can read more about DASA's challenge here.


To develop and deploy autonomous routines effectively, simulation is essential. This concept aligns with NVIDIA's Omniverse Digital Twins, where virtual replicas of physical systems enable extensive testing and optimisation. Among the most effective sandboxes for designing autonomous drone systems is Microsoft's AirSim, now succeeded by the more advanced Colosseum.


Why is Simulation Crucial for Autonomous Drones?


Simulation plays a pivotal role in the development of autonomous drones. It allows developers to test algorithms and behaviours in a controlled, risk-free environment before deploying them in real-world scenarios. This not only accelerates the development process but also ensures safety and reliability. NVIDIA's Omniverse Digital Twins epitomise this approach by creating highly detailed virtual environments that mimic real-world conditions, enabling thorough testing and fine-tuning of any autonomous systems.


Setting Up Microsoft's AirSim (Colosseum)


Setting up AirSim or its successor, Colosseum, used to be a complex process, particularly with the older Unreal Engine 4. However, CodexLabsLLC has streamlined the installation workflow, making it much more accessible. Below is a step-by-step guide to get you started with the latest and most stable release of Colosseum.



Step-by-Step Installation Guide


Clone the Repository

Clone the Colosseum repository from GitHub. It's recommended to use a stable release, such as the 2.1 repository release which supports UE 5.2. To do this, simply go to https://github.com/CodexLabsLLC/Colosseum/releases/tag/v2.1.0 and download the Source code (.zip) or simply click HERE


If you want to download the latest Colosseum please use the following:

You will need to have Git installed on your system in order to use the git command.

git clone https://github.com/CodexLabsLLC/Colosseum
cd Colosseum

Download and Install Epic Games and Unreal Engine:

Download and Install Visual Studio 2022:

Start Developer Command Prompt for VS 2022:

Run the Build Command:

Unreal/Plugin Folder Generation:

Reopen Epic Games and Unreal Engine:

Modify SimModeBase.cpp (if needed):

Launch the Blocks Environment:

Set Up the Python Client:






Conclusion


With these steps, you can set up and start using Microsoft's AirSim (Colosseum) for your drone simulation needs. This setup allows you to create realistic and reliable environments to test and develop autonomous drone behaviours, paving the way for innovations in various fields such as defence, agriculture, and firefighting. The process, though streamlined, still offers robust and versatile simulation capabilities essential for modern autonomous systems development.


Happy simulating!

4 views0 comments

Comments


bottom of page