limit RTL to 35°

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2983 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-07-31 19:57:35 +00:00
parent a6bad6b73e
commit 4223dff94e
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ static void calc_rate_nav(int speed)
//Serial.printf("dTnav: %ld, gs: %d, err: %d, int: %d, pitch: %ld", dTnav, groundspeed, error, (int)g.pid_nav_wp.get_integrator(), (long)nav_lat);
// limit our output
nav_lat = constrain(nav_lat, -4000, 4000); // +- max error
nav_lat = constrain(nav_lat, -3500, 3500); // +- max error
}
static void calc_bearing_error()