mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
pid_nav_lat incorrectly labeled
This commit is contained in:
parent
a3862ced62
commit
23709bafef
@ -208,7 +208,7 @@ static void calc_nav_lon(int rate)
|
||||
|
||||
static void calc_nav_lat(int rate)
|
||||
{
|
||||
nav_lat = g.pid_nav_lon.get_pid(rate, dTnav);
|
||||
nav_lat = g.pid_nav_lat.get_pid(rate, dTnav);
|
||||
nav_lat = get_corrected_angle(rate, nav_lat);
|
||||
nav_lat = constrain(nav_lat, -3000, 3000);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user