Commit Graph

156 Commits

Author SHA1 Message Date
Andrew Tridgell a26d19b57c Copter: fill in flight mode in AP_Notify flags
needed for AP_Radio
2018-02-08 17:36:33 +11:00
Peter Barker d1201e4776 Copter: tidy zero_throttle_and_relax (NFC) 2017-12-27 12:09:06 +00:00
Peter Barker 41dc8554c0 Copter: pull out a zero_throttle_and_relax function 2017-12-27 12:09:06 +00:00
Peter Barker bf5f51a616 Copter: factor out takeoff_trigger from althold, sport and loiter 2017-12-14 23:45:54 +00:00
Peter Barker d09b0696db Copter: correct checking of heli mode change
init() may have changed all sorts of things about the
vehicle - wp navigation, position controllers, attitude controllers...

Do the heli check before doing any of that so we don't change state and
then fail to change mode
2017-12-13 08:49:01 +09:00
Randy Mackay 7504237fbb Copter: rename flight_mode.cpp to mode.cpp 2017-12-12 20:39:48 +09:00