Browse Source

bad throttle boost code fixed.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1280 f9c3cf11-9bcb-44bc-f272-b75c42450872
mission-4.1.18
jasonshort 14 years ago
parent
commit
7e1a4d4a38
  1. 2
      ArduCopterMega/flight_control.pde

2
ArduCopterMega/flight_control.pde

@ -30,7 +30,7 @@ float angle_boost() @@ -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…
Cancel
Save