From 44eedd4abd88b07d9bb86e70cb576dd210bc26bd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 3 Oct 2013 21:54:27 +1000 Subject: [PATCH] Rover: update for new AP_SteerController API --- APMrover2/Steering.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APMrover2/Steering.pde b/APMrover2/Steering.pde index 3b73733494..41d4f5048a 100644 --- a/APMrover2/Steering.pde +++ b/APMrover2/Steering.pde @@ -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); } /*****************************************