Rover: update for new AP_SteerController API

This commit is contained in:
Andrew Tridgell 2013-10-03 21:54:27 +10:00
parent bd848a6a7f
commit 44eedd4abd
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ static void calc_nav_steer()
// constrain to max G force
lateral_acceleration = constrain_float(lateral_acceleration, -g.turn_max_g*GRAVITY_MSS, g.turn_max_g*GRAVITY_MSS);
channel_steer->servo_out = steerController.get_steering_out(lateral_acceleration);
channel_steer->servo_out = steerController.get_steering_out_lat_accel(lateral_acceleration);
}
/*****************************************