AP_L1: update constraint Nu comment to match sourcecode

fixes https://github.com/ArduPilot/ardupilot/issues/7054
This commit is contained in:
Tom Pittenger 2017-10-09 17:01:37 -07:00 committed by GitHub
parent cf7b874b42
commit 39dc608bea
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ void AP_L1_Control::update_waypoint(const struct Location &prev_WP, const struct
_prevent_indecision(Nu);
_last_Nu = Nu;
//Limit Nu to +-pi
//Limit Nu to +-(pi/2)
Nu = constrain_float(Nu, -1.5708f, +1.5708f);
_latAccDem = K_L1 * groundSpeed * groundSpeed / _L1_dist * sinf(Nu);