Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
Перейти к файлу
Shital Shah ebc5e36532 gaussian pose generator, no eye adaptation, docs update and other stereo gen tweaks 2017-07-08 21:46:06 -07:00
AirLib gaussian pose generator, no eye adaptation, docs update and other stereo gen tweaks 2017-07-08 21:46:06 -07:00
AirLibUnitTests move common code to check connection to client, enable show all files in projects 2017-07-03 18:37:26 -07:00
DroneServer move common code to check connection to client, enable show all files in projects 2017-07-03 18:37:26 -07:00
DroneShell new image APIs working 2017-07-07 03:41:17 -07:00
Examples gaussian pose generator, no eye adaptation, docs update and other stereo gen tweaks 2017-07-08 21:46:06 -07:00
HelloDrone new image APIs working 2017-07-07 03:41:17 -07:00
LogViewer Fix LogViewer for other cultures. 2017-06-05 10:56:31 -07:00
MavLinkCom move common code to check connection to client, enable show all files in projects 2017-07-03 18:37:26 -07:00
PythonClient gaussian pose generator, no eye adaptation, docs update and other stereo gen tweaks 2017-07-08 21:46:06 -07:00
Unreal gaussian pose generator, no eye adaptation, docs update and other stereo gen tweaks 2017-07-08 21:46:06 -07:00
cmake removed MavLinkDroneController.cpp from cmake lists 2017-06-30 23:28:34 -07:00
docs gaussian pose generator, no eye adaptation, docs update and other stereo gen tweaks 2017-07-08 21:46:06 -07:00
external updated rpclib, clean removed rpclib build 2017-05-01 21:05:55 -07:00
tools Fix windows clean build (installs cmake if we need it). 2017-04-23 19:14:23 -07:00
.gitignore Fix getImageForCamera so that it automatically turns on the required view if it is not visible already. 2017-06-04 18:46:22 -07:00
.gitmodules added rpclib submodule 2017-02-23 20:29:03 -08:00
.travis.yml fix build 2017-04-23 10:23:10 -07:00
AirSim.sln new image APIs working 2017-07-07 03:41:17 -07:00
LICENSE readme and license update 2017-02-14 20:53:49 -08:00
README.md Added Kerry's Linux docker container reference 2017-06-02 01:28:29 +08:00
build.cmd move MavLinkDroneController.cpp to header file 2017-06-29 23:59:20 -07:00
build.sh move MavLinkDroneController.cpp to header file 2017-06-29 23:59:20 -07:00
clean.cmd updated rpclib, clean removed rpclib build 2017-05-01 21:05:55 -07:00

README.md

Welcome to AirSim

AirSim is a simulator for drones (and soon other vehicles) built on Unreal Engine. It is open-source, cross platform and supports hardware-in-loop with popular flight controllers such as Pixhawk for physically and visually realistic simulations. It is developed as an Unreal plugin that can simply be dropped in to any Unreal environment you want.

Our goal is to develop AirSim as a platform for AI research to experiment with deep learning, computer vision and reinforcement learning algorithms for autonomous vehicles. For this purpose, AirSim also exposes APIs to retrieve data and control vehicles in a platform independent way.

Check out the quick 1.5 minute demo

AirSim Demo Video

Development Status

This project is under heavy development. The current release is in beta and all APIs are subject to change. The next major features currently in works are standalone mode, several API enhancements and Python client support. We welcome contributions!

How to Get It

Prerequisites

To get the best experience you will need Pixhawk or compatible device and a RC controller. This enables the "hardware-in-loop simulation" for more realistic experience. Follow these instructions on how to get it, set it up and other alternatives.

Windows

There are two ways to get AirSim working on your machine. Click on below links and follow the instructions.

  1. Build it and use it with Unreal
  2. Use the precompiled binaries

Linux

Kerry Snyder has created Docker container for AirSim! If you are using Linux, give it a try.

Several people have reported that they have been running in Linux as well as OSX successfully. Please check conversations on Linux. You can find our experimental Linux build instruction here. Our official binary release for Ubuntu 16.04 is now just around the corner.

How to Use It

Video Tutorials

Manual flights

If you have a Pixhawk flight controller (or compatible device) and a remote control you can manually control the drones in the simulator and fly around.

record screenshot

More details

Gathering training data

There are two ways you can generate training data from AirSim for deep learning. The easiest way is to simply press the record button on the lower right corner. This will start writing pose and images for each frame.

record screenshot

If you would like more data logging capabilities and other features, file a feature request or contribute changes. The data logging code is pretty simple and you can modify it to your heart's desire.

A more complex way to generate training data is by writing client code that uses our APIs. This allows you to be in full control of how, what, where and when you want to log data. See the next section for more details.

For MavLink enabled drones, you can also use our Log Viewer to visualize the streams of data.

You can also playback recorded logs for side-by-side comparison between real drone and the simulator.

Programmatic control

The AirSim exposes easy to use APIs in order to retrieve data from the drones that includes ground truth, sensor data as well as various images. It also exposes APIs to control the drones in a platform independent way. This allows you to use your code to control different drones platforms, for example, Pixhawk or DJI Matrice, without making changes as well as without having to learn internal protocols details.

These APIs are also available as a part of a separate independent cross-platform library so you can deploy them on an offboard computer on your vehicle. This way you can write and test your code in simulator and later execute it on the real drones. Transfer learning and related research is one of our focus areas. See custom drones.

More details

Participate

Paper

You can get additional technical details in our paper (preprint). Please cite this as:

@misc{1705.05065,
Author = {Shital Shah and Debadeepta Dey and Chris Lovett and Ashish Kapoor},
Title = {AirSim: High-Fidelity Visual and Physical Simulation for Autonomous Vehicles},
Year = {2017},
Eprint = {arXiv:1705.05065},
}

Contribute

We welcome contributions to help advance research frontiers.

Contact

Join the AirSim group at Facebook to stay up to date or ask any questions.

FAQ

If you run into problems, check the FAQ and feel free to post issues on the AirSim github.

License

This project is released under MIT License. Please review License file for more details.