AirSim Code Flow

The goal of this page is to document the different entry points to the AirSim plugin from Unreal Engine.

AirSim Code Flow

Need to figure out how to instantiate the API from within the Unreal environment. This will allow us to embed DroneBlocks directly into the game and send commands without having to go through the RPC server. Not sure if this is possible.

This is the entry point into the AirSim Game Mode:

The SimHUD initializes several components:

This is where the API service gets started

An example of a takeoff command and how it gets mapped to a moveToPosition call:

In the series of API calls moveOnPath appears to be one of the most important navigation calls. moveToPosition is a wrapper for moveOnPath:

Last updated

Was this helpful?