Microsoft Research Blog

Microsoft Research Blog

The Microsoft Research blog provides in-depth views and perspectives from our researchers, scientists and engineers, plus information about noteworthy events and conferences, scholarships, and fellowships designed for academic and scientific communities.

Microsoft extends AirSim to include autonomous car research

November 13, 2017 | By Ashish Kapoor, Principal Researcher, Research Manager; Shital Shah, Principal Research Engineer

Earlier this year, we open-sourced a research project called AirSim, a high-fidelity system for testing the safety of artificial intelligence systems. AirSim provides realistic environments, vehicle dynamics and sensing for research into how autonomous vehicles that use AI that can operate safely in the open world.

Today, we are sharing an update to AirSim: We have extended the system to include car simulation, which will help advance the research and development of self-driving vehicles. The latest version is available now on GitHub as an open-source, cross-platform offering.

The updated version of AirSim also includes many other features and enhancements, including additional tools for testing airborne vehicles. We have made it easier for people to simulate flying drones by adding a built-in flight controller, called simple_flight, that simplifies the setup process. This allows rapid experimentation with control and state estimation algorithms without requiring expensive debugging and development in the embedded world.

Building and testing cars in simulation
Developing algorithms for self-driving cars is an expensive proposition. It requires infrastructure to build expensive hardware platforms, large amounts data and the ability to quickly test and benchmark results. We aim to make these various aspects of developing self-driving cars available to a broader group of researchers by providing an open, community-driven platform for testing those algorithms. The new version of AirSim includes car simulations, new environments, APIs to ease programming and ready-to-run scripts to jump start your research.

Rapidly building richer environments
AirSim comes with a detailed 3D urban environment that includes a variety of diverse conditions, including traffic lights, parks, lakes and construction sites. Users can test their systems in several types of neighborhoods, including downtown, semi-urban, vegetation and industrial environments. The simulation contains more than 12 kilometers of drivable roads spanning more than 20 city blocks.

AirSim has been developed as a plugin for Unreal Engine, a popular tool for game development. This means that the car simulation is decoupled from the environment it runs in. You can create an environment for your specific needs, such as a city or rural road, or choose from a variety of environments available online, and then simply drop in the AirSim plugin to test your self-driving algorithms in that environment. AirSim extensibility also allows researchers and developers to incorporate new sensors, vehicles or even use different physics engines.

Turnkey AI research
AirSim provides APIs that can be used in a wide variety of languages, including C++ and Python. This makes it easy to use AirSim with various machine learning tool chains. For example, you can use Microsoft Cognitive Toolkit (CNTK) with AirSim to do deep reinforcement learning. We also see significant opportunities with running multiple instances on AirSim with Microsoft Azure to scale up the training for modern, data-hungry machine learning algorithms.

Finally, we have made AirSim available as compiled binary release, which means you can now download and start calling its Python APIs to control the vehicle in just minutes.

Looking forward

We have been fortunate to have great support and ideas from a growing community and  a number of users of AirSim all over the world. The Microsoft Deep Learning and Robotics Garage Chapter from our own backyard also collaborated with Microsoft Research with several important contributions

In future releases, we hope to add new sensors, better vehicle physics, weather modeling and even more detailed realistic environments. We are looking forward to community input to help guide our efforts and prioritize these improvements.

Shital Shah is a principal research software engineer at Microsoft, and Ashish Kapoor is a principal researcher at Microsoft.

Related:

Up Next

Artificial intelligence, Computer vision

Machine learning and the incredible flying robot with Dr. Ashish Kapoor

Episode 22, May 2, 2018 - Dr. Kapoor talks about how cutting-edge machine learning techniques are empowering a new generation of autonomous vehicles, and tells us all about AirSim, an innovative platform that’s helping bridge the simulator-to-reality gap, paving the way for safer, more robust real-world AI systems of all kinds.

Microsoft blog editor

A snapshot from AirSim shows an aerial vehicle flying in an urban environment, training for real-world AI

Artificial intelligence

Toward AI that operates in the real world

By Ashish Kapoor, Microsoft Research It’s an exciting time to be a machine intelligence researcher. Recent successes in machine learning (ML) and artificial intelligence (AI), which span from achieving human-level parity in speech recognition to beating world champions in board games, indicate the promise of the recent methods. Most of these successes, however, are limited […]

Microsoft blog editor

Artificial intelligence

AI is getting smarter; Microsoft researchers want to ensure it’s also getting more accurate

By Allison Linn, Senior Writer, Microsoft Just a decade ago, the idea of using technology to do things like automatically translate conversations, identify objects in pictures — or even write a sentence describing those pictures — seemed like interesting research projects, but not practical for real-world use. The recent improvements in artificial intelligence have changed that. These […]

Microsoft blog editor