Peter Barker
45f2312bfe
Copter: move home state into AP_AHRS
7 years ago
Peter Barker
2749ee9060
Copter: use ins singleton
7 years ago
Randy Mackay
4a74b1b5e5
Copter: replace NTUN with PSC logging
7 years ago
Leonard Hall
9544b1763b
Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
ed36ec3c29
Copter: add option to disable THROW mode
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
b27c00dc5f
Copter: add option to disable ACRO mode
7 years ago
Randy Mackay
af207caa1f
Copter: move get_pilot_desired_lean_angles higher in cpp
...
this makes the definition in the .h and implementation in .cpp files appear in the same order
7 years ago
Ebin
20995b909f
Copter: Moved get_pilot_desired_lean_angles to mode.cpp
7 years ago
Peter Barker
d88bd52a53
Copter: use baro singleton
7 years ago
Peter Barker
bc4f021516
Copter: use AP::ahrs() for ADSB
7 years ago
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
7 years ago
Randy Mackay
6ee101ca98
Copter: rename chase to follow
7 years ago
Randy Mackay
053983eb70
Copter: integrate AP_Follow into chase mode
7 years ago
Peter Barker
199455dc56
Copter: add chase mode
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
bc86ca0e3c
Copter: simplify Log_Write_Proximity
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
bbd1aa1cab
Copter: Improve interoperation of AC_AVOID_ENABLED and BEACON_ENABLED
7 years ago
Peter Barker
b8e1f03599
Copter: add define for disabling beacon
7 years ago
Peter Barker
5b355214fd
Copter: add option to disable CIRCLE flight mode
...
Saves about 2.4kB of flash
7 years ago
Peter Barker
e4898e1d60
Copter: add option to disable GUIDED_NOGPS flight mode
...
Saves about 6.3kB of flash
7 years ago
Peter Barker
86b162e32f
Copter: add option to disable BRAKE flight mode
7 years ago
Peter Barker
a7fe242e31
Copter: add option to disable RTL flight mode
7 years ago
Peter Barker
b8c432b1a1
Copter: add option to disable GUIDED flight mode
...
Saves about 6kB of flash
7 years ago
Peter Barker
0ddeb56a05
Copter: add option to disable DRIFT flight mode
...
Saves about 1kB of space
7 years ago
Peter Barker
e5056f8d40
Copter: add option to disable SPORT flight mode
...
Saves about 1,500 bytes
7 years ago
Peter Barker
7154f4dea4
Copter: add option to disable LOITER mode
7 years ago
Peter Barker
9b440d6b25
Copter: add option to disable SmartRTL mode
...
Saves 5.5k of Flash
7 years ago
Peter Barker
3a61b86e65
Copter: add option to disable POSHOLD mode
...
Saves about 4k of Flash
7 years ago
Peter Barker
b9ad2bc8db
Copter: add option to disable AUTO mode
...
Saves ~12k of flash
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
b24e5c3991
Copter: Obey MOUNT == DISABLED
7 years ago
Peter Barker
846506230d
Copter: remove pointless initialisations
...
Also reduce storage size of gps primary
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
def098bd8a
Copter: obey ADSB_ENABLED == DISABLED
7 years ago
Randy Mackay
f0534a35d1
Copter: format change for includes
...
non-functional change
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
137de0fea5
Copter: conditionaly include more header files
...
this should help catch missing macros
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
002494c048
Copter: Obey CAMERA == DISABLED
7 years ago
Peter Barker
730adc3f7c
Copter: eliminate perf_update scheduler table shim
7 years ago
Peter Barker
bfc373aeff
Copter: move logging of PM messages to AP_Scheduler
7 years ago
Peter Barker
80a3d63264
Copter: use AP_Scheduler's loop() function
7 years ago
Peter Barker
7f69c5d26d
Copter: use scheduler ticks in place of mainloop_count
7 years ago
Andrew Tridgell
7938bd08bb
Copter: make flowhold mode conditional
...
reduces build size on px4-v2 by 4k
7 years ago
murata
c31c2a4cf1
Copter: optionalize the winch
7 years ago
Peter Barker
40d74584ac
Copter: remove shims used in scheduler
7 years ago
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
7 years ago
Andrew Tridgell
af4f0c29ba
Copter: enable TMODE (ToyMode) support
...
this is for the skyviper button based transmitter control
7 years ago
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
7 years ago
Andrew Tridgell
15166eff2e
Copter: enable temperature calibration library
7 years ago
Michael du Breuil
69da4041ac
Copter: Move logging battery logging code to AP_BattMonitor
7 years ago
Pierre Kancir
10e6fe43dd
Copter: Add a switch option to enable/disable RC_Override
7 years ago
Randy Mackay
6546ccbb3f
Copter: velocity pi moved to position control library
7 years ago
Dylan Herman
20fe5bb98f
Copter: add SmartRTL failsafe action
...
Adds SmartRTL or RTL and SmartRTL or Land failsafe options for batt, throttle, and GCS failsafes
7 years ago
Peter Barker
dda38d65eb
Copter: AP_AHRS no longer requires GPS in constructor
7 years ago