AirSim is an open-source simulator for drones, cars, and related vehicles, built on Unreal Engine with an experimental Unity plugin. It targets AI, computer vision, and reinforcement learning experiments.
Overview
AirSim simulates drones, cars, and related vehicles for research and development. It is built on Unreal Engine as a plugin that can be added to Unreal environments, with an experimental Unity plugin as well. The project is cross-platform and supports software-in-the-loop simulation with flight controllers such as PX4 and ArduPilot, plus hardware-in-the-loop with PX4 for physically and visually realistic runs.
AirSim exposes APIs to retrieve sensor data and control vehicles in a platform-independent way across languages including C++, Python, C#, and Java. Related client libraries can run on companion hardware so code tested in simulation can later run on real vehicles, supporting transfer-learning style work.
Users can drive manually with a remote control or keyboard, or control vehicles programmatically through RPC APIs. A record button logs poses and images per frame, and APIs offer finer control over when and how training data is captured. A Computer Vision mode removes vehicles and physics so cameras can be placed arbitrarily for vision datasets.
Precompiled binaries are offered for Windows and Linux, while macOS builds are documented as build-from-source targets alongside Windows and Linux build instructions.
Key features
- Drone, car, and computer-vision modes
- Unreal Engine plugin integration
- Experimental Unity plugin
- Software-in-the-loop support for PX4 and ArduPilot
- Multi-language control and data APIs
- Training data recording and API logging
- Remote control and keyboard driving
- Hardware-in-the-loop PX4 support
Use cases
- Deep learning for autonomous vehicles
- Drone control algorithm prototyping
- Synthetic vision dataset generation
- Reinforcement learning in simulation
- Transfer from sim to real platforms