From 4223dff94e318e88b9a642ec043f6e5b8df8a6d1 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Sun, 31 Jul 2011 19:57:35 +0000 Subject: [PATCH] =?UTF-8?q?2.0.39=20limit=20RTL=20to=2035=C2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://arducopter.googlecode.com/svn/trunk@2983 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/navigation.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopterMega/navigation.pde b/ArduCopterMega/navigation.pde index b8f5dad209..b9acde6f25 100644 --- a/ArduCopterMega/navigation.pde +++ b/ArduCopterMega/navigation.pde @@ -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()