Skip to content

Latest commit

 

History

History
100 lines (78 loc) · 9.36 KB

api_overview.md

File metadata and controls

100 lines (78 loc) · 9.36 KB

API overview

We added some new APIs (marked with 💚) to AirSim for the NeurIPS competition binaries.

Loading Unreal Engine environments

  • simLoadLevel(level_name) 💚
    Possible values for level_name are:
    • Soccer_Field_Easy
    • Soccer_Field_Medium
    • ZhangJiaJie_Medium
    • Building99_Hard
    • Qualification_Tier_1
    • Qualification_Tier_2
    • Qualification_Tier_3
    • Final_Tier_1
    • Final_Tier_2
    • Final_Tier_3

Note that any race tier can be run for any level, irrespective of the Tier_N suffix. (Historic note: The names along with their suffixes are ported from Game of Drones)

  • UI Menu
    • Press F10 to toggle the level menu
    • Click your desired level. (Note: the UI lists all the pakfiles in the ADRL/ADRL/Content/Paks directory.)

Race APIs:

Lower level control APIs:

Medium level control APIs:

High level control APIs:

  • Minimum jerk trajectory planning (using ethz-asl/mav_trajectory_generation), and trajectory tracking (using a pure pursuit like controller minimizing position and velocity errors), with position setpoints. Optionally use the *lookahead* parameters to start new trajectory from a point sampled n seconds ahead for trajectory being tracked currently.

  • Minimum jerk trajectory planning (using ethz-asl/mav_trajectory_generation), and trajectory tracking (using a pure pursuit like controller minimizing position and velocity errors), with position setpoints and corresponding velocity constraints. Useful for making a drone go through a gate waypoint, while obeying speed and direction constraints. Optionally use the *lookahead* parameters to start new trajectory from a point sampled n seconds ahead for trajectory being tracked currently.

  • Clear and stop following current trajectory.

Gain setter APIs:

APIs to help generate gate detection datasets: