Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.43 KB

File metadata and controls

28 lines (21 loc) · 1.43 KB

FAQs

How to install AirSim plugin?

AirSim is an open-source plugin for Unreal Engine developed by Microsoft for agents (drones and cars) with physically and visually realistic simulations. In case you decide on creating your own environments on Unreal Engine (and not use the ones provided for download) you need to install the plugin into Unreal Engine. Details on how to install the plugin can be found below.

Instructions on installing AirSim

How to set up initial positions in an environment:

Following module can be used to dictate initial positions for drone in the environment

unreal_envs/initial_positions.py
  1. Locate the python module with the name of the environment and add to the orig_ip array. Each member of the orig_ip array is one initial position corresponding to (x, y, theta) where x and y are the positional coordinates and theta is the orientation (yaw). Make sure that you don't modify the first initial position commented as Player start.
  2. In order to add a position from the environment, set the mode in teh config file to move_around
mode:     move_around
  1. Run Autopilot
python main.py
  1. Navigate to the desired position using the keyboard keys w, a, s, dup, down, left and right
  2. Hit the key 'P'. The unreal coordinates of the current position will be shown at the left top of the screen

More details can be found here