Peter Barker
0e68ce2ad8
Copter: correct #error prerequisites
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
Peter Barker
eb9bbddcb7
Copter: add in_guided_mode mode callback
7 years ago
Peter Barker
e66034f183
Copter: allow fence to be disabled while AFS is enabled
7 years ago
Peter Barker
bb9af3b79d
Copter: autotune: correct compilation when logging disabled
7 years ago
Peter Barker
9cffa13f7b
Copter: correct mav result for compass motor calibration on heli
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
Peter Barker
1a68979050
Copter: correct nullptr check for circle nav allocation
7 years ago
Peter Barker
dc5ef168fd
Copter: toymode: correct compilation with fence is disabled
7 years ago
Peter Barker
25665c5dd9
Copter: correct definition of unused variable when precision landing disabled
7 years ago
Peter Barker
06da2f50ce
Copter: correct compilation when logging is disabled
7 years ago
Andrew Tridgell
8d49e1ac18
Copter: re-added reason to mode change log msg
...
this was lost in the mode restructuring
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
381bae1a4a
Copter: add missing defines to config.h
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
002494c048
Copter: Obey CAMERA == DISABLED
7 years ago
murata
6f20c6a97b
Copter: Set the loop rate of G_dt as a variable.
7 years ago
Andrew Tridgell
348a757cc6
Copter: re-enable FLOWHOLD mode on skyviper
7 years ago
Andrew Tridgell
00ec3efb48
Copter: initialise G_Dt to 1.0/400
7 years ago
Peter Barker
730adc3f7c
Copter: eliminate perf_update scheduler table shim
7 years ago
Andrew Tridgell
f06fdf330e
Copter: use get_last_loop_time_s() for G_Dt
7 years ago
Andrew Tridgell
e0de4bccdf
Copter: use filtered loop time
7 years ago
Peter Barker
de56ae56e1
Copter: pass log-performance-bit at init time rather than update time
7 years ago
Peter Barker
bfc373aeff
Copter: move logging of PM messages to AP_Scheduler
7 years ago
Peter Barker
375911cd7c
Copter: move PERF: statustext sending into 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
Peter Barker
bf6a2b8bb5
Copter: tell PerfInfo the configured loop rate
7 years ago
Randy Mackay
9eda7f4e31
Copter: global-pos-int uses system time
7 years ago
Peter Barker
e6ece4cf3d
Copter: correct use of parent class constructors (heli)
7 years ago
Randy Mackay
0ca653c8dd
Copter: disable winch, gripper, sprayer on v2 build
7 years ago
Andrew Tridgell
7938bd08bb
Copter: make flowhold mode conditional
...
reduces build size on px4-v2 by 4k
7 years ago
murata
296ee7315b
Copter: minor formatting fixes
7 years ago
murata
c31c2a4cf1
Copter: optionalize the winch
7 years ago
Peter Barker
40d74584ac
Copter: remove shims used in scheduler
7 years ago
Peter Barker
8f8917369c
Copter: correct use of parent class constructors
7 years ago
Peter Barker
5e55784707
Copter: remove unneeded and unwanted virtual keywords
7 years ago
Randy Mackay
4319e37f0c
Copter: non-functional FlowHold changes
...
class declaration moved to alphabetical position in mode.h
parameter descriptions include FlowHow at beginning to help distinguished from optical flow parameters
resolved compiler warnings
7 years ago