From 2c41db9e4db826a1ba0da7fc4582322699203d5c Mon Sep 17 00:00:00 2001 From: disgruntled-patzer Date: Tue, 29 May 2018 16:01:44 +0800 Subject: [PATCH] AP_RollController.cpp: Updated description of ArduPlane Roll Controller for accuracy AP_RollController's get_servo_out function does not return an elevator deflection as was previously described in the function comments. Instead, it should return an aileron deflection. Thus, the function description should be updated to reflect this more accurately --- libraries/APM_Control/AP_RollController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/APM_Control/AP_RollController.cpp b/libraries/APM_Control/AP_RollController.cpp index 3d9ef1a785..0aa2dada91 100644 --- a/libraries/APM_Control/AP_RollController.cpp +++ b/libraries/APM_Control/AP_RollController.cpp @@ -192,7 +192,7 @@ int32_t AP_RollController::get_rate_out(float desired_rate, float scaler) } /* - Function returns an equivalent elevator deflection in centi-degrees in the range from -4500 to 4500 + Function returns an equivalent aileron deflection in centi-degrees in the range from -4500 to 4500 A positive demand is up Inputs are: 1) demanded bank angle in centi-degrees