mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
bad throttle boost code fixed.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1280 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
e5bb2b419b
commit
383b0d623a
@ -30,7 +30,7 @@ float angle_boost()
|
||||
{
|
||||
//static byte flipper;
|
||||
float temp = 1 / (cos(dcm.roll) * cos(dcm.pitch));
|
||||
temp *= .5;
|
||||
//temp *= .5;
|
||||
if(temp > 1.2)
|
||||
temp = 1.2;
|
||||
return temp;
|
||||
|
Loading…
Reference in New Issue
Block a user