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
This commit is contained in:
disgruntled-patzer 2018-05-29 16:01:44 +08:00 committed by Randy Mackay
parent 6213b452ca
commit 2c41db9e4d
1 changed files with 1 additions and 1 deletions

View File

@ -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