|
|
@ -10,6 +10,12 @@ bool Copter::throw_init(bool ignore_checks) |
|
|
|
// do not allow helis to use throw to start
|
|
|
|
// do not allow helis to use throw to start
|
|
|
|
return false; |
|
|
|
return false; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// do not enter the mode when already armed
|
|
|
|
|
|
|
|
if (motors.armed()) { |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// this mode needs a position reference
|
|
|
|
// this mode needs a position reference
|
|
|
|
if (position_ok()) { |
|
|
|
if (position_ok()) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|