Drone Racing @ NeurIPS 2019, built on Microsoft AirSim
Final_Tier_1_and_2.pak
.Final_Tier_3.pak
.Final_Tiers_1_and_2.pak
.Final_Tier_3.pak
.New APIs
Sim / Race APIs:
Set controller gain APIs:
Changes in existing APIs:
setTrajectoryTrackerGains(gains, vehicle_name='')
, where gains was a list of floats, obtained by calling TrajectoryTrackerGains().to_list()
.TrajectoryTrackerGains
object, akin to the above set*ControllerGains()
APIs:
setTrajectoryTrackerGains(gains=<airsimneurips.types.TrajectoryTrackerGains instance>, vehicle_name='')
replan_from_lookahead(bool)
and replan_lookahead_sec(float)
params.viz_traj
bool param)plot_transform()
calls.viz_traj_color_rgba
param, which takes a list of four floats to specify RGBA.add_acceleration_constraint
bool param.add_curr_odom_position_constraint
has been renamed to add_position_constraint(bool)
.add_curr_odom_velocity_constraint
has been renamed to add_velocity_constraint(bool)
path
param has been renamed to waypoints
paramNew APIs
Sim / Race APIs:
Set controller gain APIs:
Changes in existing APIs:
setTrajectoryTrackerGains(gains, vehicle_name='')
, where gains was a list of floats, obtained by calling TrajectoryTrackerGains().to_list()
.TrajectoryTrackerGains
object, akin to the above set*ControllerGains()
APIs:
setTrajectoryTrackerGains(gains=<airsimneurips.types.TrajectoryTrackerGains instance>, vehicle_name='')
replan_from_lookahead(bool)
and replan_lookahead_sec(float)
params.viz_traj
bool param)plot_transform()
calls.viz_traj_color_rgba
param, which takes a list of four floats to specify RGBA.add_acceleration_constraint
bool param.add_curr_odom_position_constraint
has been renamed to add_position_constraint(bool)
.add_curr_odom_velocity_constraint
has been renamed to add_velocity_constraint(bool)
path
param has been renamed to waypoints
paramsimStartRace()
- Starts a race event when applicablesimResetRace()
- Resets all elements of current race (gates passed, penalties, and time is cleared, racers are returned to start position)simGetObjectScale(object_name)
- Get 3D scale Vector3r
of specified objectsimSetObjectScale(object_name, scale_vector)
- Set the scale of the specified object using a Vector3r
inputsimStartRace()
- Starts a race event when applicablesimResetRace()
- Resets all elements of current race (gates passed, penalties, and time is cleared, racers are returned to start position)simGetObjectScale(object_name)
- Get 3D scale Vector3r
of specified objectsimSetObjectScale(object_name, scale_vector)
- Set the scale of the specified object using a Vector3r
inputduration
(function parameter) seconds had elapsed.duration
(function parameter) seconds had elapsed.