Skip to content

Commit

Permalink
#23 bump baseline_racer to use airsimneurips-v0.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
madratman committed Aug 6, 2019
1 parent 7891db8 commit 76b9e53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions baselines/baseline_racer.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def load_level(self, level_name, sleep_sec = 2.0):
time.sleep(sleep_sec) # let the environment load completely

def initialize_drone(self):
self.airsim_client.enableApiControl(True, vehicle_name=self.drone_name)
self.airsim_client.armDisarm(True, vehicle_name=self.drone_name)
self.airsim_client.enableApiControl(vehicle_name=self.drone_name)
self.airsim_client.arm(vehicle_name=self.drone_name)

# set default values for trajectory tracker gains
traj_tracker_gains = airsim.TrajectoryTrackerGains(kp_cross_track = 5.0, kd_cross_track = 0.0,
Expand Down

0 comments on commit 76b9e53

Please sign in to comment.