Ebin
20995b909f
Copter: Moved get_pilot_desired_lean_angles to mode.cpp
2018-03-14 09:33:39 +09:00
Peter Barker
af56826107
Copter: follow mode fixups
...
add follow to FLTMODEx param descriptions
remove follow's set_velocity method
10hz logging of desired velocity in follow mode
follow mode uses pos error P gain
add send-debug-via-mavlink option
don't enter follow if follow lib is disabled
follow debug slowed to 1hz
disable follow on min-features builds
2018-03-05 15:08:08 +09:00
Randy Mackay
6ee101ca98
Copter: rename chase to follow
2018-03-05 15:08:08 +09:00
Peter Barker
199455dc56
Copter: add chase mode
2018-03-05 15:08:08 +09:00
Peter Barker
5b355214fd
Copter: add option to disable CIRCLE flight mode
...
Saves about 2.4kB of flash
2018-02-27 07:43:13 +09:00
Peter Barker
e4898e1d60
Copter: add option to disable GUIDED_NOGPS flight mode
...
Saves about 6.3kB of flash
2018-02-27 07:43:13 +09:00
Peter Barker
86b162e32f
Copter: add option to disable BRAKE flight mode
2018-02-27 07:43:13 +09:00
Peter Barker
a7fe242e31
Copter: add option to disable RTL flight mode
2018-02-27 07:43:13 +09:00
Peter Barker
b8c432b1a1
Copter: add option to disable GUIDED flight mode
...
Saves about 6kB of flash
2018-02-27 07:43:13 +09:00
Peter Barker
0ddeb56a05
Copter: add option to disable DRIFT flight mode
...
Saves about 1kB of space
2018-02-27 07:43:13 +09:00
Peter Barker
e5056f8d40
Copter: add option to disable SPORT flight mode
...
Saves about 1,500 bytes
2018-02-27 07:43:13 +09:00
Peter Barker
7154f4dea4
Copter: add option to disable LOITER mode
2018-02-27 07:43:13 +09:00
Peter Barker
9b440d6b25
Copter: add option to disable SmartRTL mode
...
Saves 5.5k of Flash
2018-02-27 07:43:13 +09:00
Peter Barker
3a61b86e65
Copter: add option to disable POSHOLD mode
...
Saves about 4k of Flash
2018-02-27 07:43:13 +09:00
Peter Barker
b9ad2bc8db
Copter: add option to disable AUTO mode
...
Saves ~12k of flash
2018-02-27 07:43:13 +09:00
Andrew Tridgell
8d49e1ac18
Copter: re-added reason to mode change log msg
...
this was lost in the mode restructuring
2018-02-22 09:07:59 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
def098bd8a
Copter: obey ADSB_ENABLED == DISABLED
2018-02-21 22:11:34 +09:00
Andrew Tridgell
0ed75052f8
Copter: enable parameters inside mode objects
...
this adds FHLD_* parameters for FlowHold mode. It is a large patch as
it needs to disentagle the mode class to enable it to be used in
Parameters.h
2018-02-08 17:36:33 +11:00
Andrew Tridgell
f442b91ea5
Copter: added FLOWHOLD flight mode
...
This flight mode allows for position hold with optical flow without
needing a rangefinder for height. It can estimate its height from the
flow data and IMU
2018-02-08 17:36:33 +11:00
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