mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -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
94f2d4e66e
commit
7e1a4d4a38
@ -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