Commit Graph

5488 Commits

Author SHA1 Message Date
Andrew Tridgell
cf00bd99ea Copter: enanle RC override by default 2018-03-02 12:52:50 +11:00
Andrew Tridgell
30572692c4 Copter: added ALLOW_ARM_NO_COMPASS
for skyviper-f412
2018-03-02 12:52:50 +11:00
night-ghost
adcc309f15 Copter: allow AP_Stats to be optional 2018-03-02 07:23:35 +11:00
murata
c0954b557e Copter: move BCN param desc within define
non-functional change to make the formatting consistent
2018-02-28 13:17:40 +09:00
Peter Barker
398d0d1f37 Copter: do not allow toy mode on Helicopters 2018-02-27 14:22:32 +09:00
Peter Barker
b8e1f03599 Copter: add define for disabling beacon 2018-02-27 07:43:13 +09:00
Peter Barker
0e68ce2ad8 Copter: correct #error prerequisites 2018-02-27 07:43:13 +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
Peter Barker
eb9bbddcb7 Copter: add in_guided_mode mode callback 2018-02-27 07:43:13 +09:00
Peter Barker
e66034f183 Copter: allow fence to be disabled while AFS is enabled 2018-02-27 07:43:13 +09:00
Peter Barker
bb9af3b79d Copter: autotune: correct compilation when logging disabled 2018-02-27 07:43:13 +09:00
Peter Barker
9cffa13f7b Copter: correct mav result for compass motor calibration on heli 2018-02-24 00:27:41 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
b24e5c3991 Copter: Obey MOUNT == DISABLED 2018-02-22 20:58:51 +10:00
Peter Barker
846506230d Copter: remove pointless initialisations
Also reduce storage size of gps primary
2018-02-22 17:51:35 +10:00
Peter Barker
1a68979050 Copter: correct nullptr check for circle nav allocation 2018-02-22 16:14:50 +10:00
Peter Barker
dc5ef168fd Copter: toymode: correct compilation with fence is disabled 2018-02-22 10:26:37 +10:00
Peter Barker
25665c5dd9 Copter: correct definition of unused variable when precision landing disabled 2018-02-22 10:26:37 +10:00
Peter Barker
06da2f50ce Copter: correct compilation when logging is disabled 2018-02-22 10:25:39 +10: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
Randy Mackay
f0534a35d1 Copter: format change for includes
non-functional change
2018-02-21 21:56:01 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
137de0fea5 Copter: conditionaly include more header files
this should help catch missing macros
2018-02-21 21:55:59 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
381bae1a4a Copter: add missing defines to config.h 2018-02-21 21:55:33 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
002494c048 Copter: Obey CAMERA == DISABLED 2018-02-21 17:03:28 +10:00
murata
6f20c6a97b Copter: Set the loop rate of G_dt as a variable. 2018-02-20 10:51:20 +11:00
Andrew Tridgell
348a757cc6 Copter: re-enable FLOWHOLD mode on skyviper 2018-02-14 18:27:00 +11:00
Andrew Tridgell
00ec3efb48 Copter: initialise G_Dt to 1.0/400 2018-02-13 17:15:05 +11:00
Peter Barker
730adc3f7c Copter: eliminate perf_update scheduler table shim 2018-02-13 17:15:05 +11:00
Andrew Tridgell
f06fdf330e Copter: use get_last_loop_time_s() for G_Dt 2018-02-13 17:15:05 +11:00
Andrew Tridgell
e0de4bccdf Copter: use filtered loop time 2018-02-13 17:15:05 +11:00
Peter Barker
de56ae56e1 Copter: pass log-performance-bit at init time rather than update time 2018-02-13 17:15:05 +11:00
Peter Barker
bfc373aeff Copter: move logging of PM messages to AP_Scheduler 2018-02-13 17:15:05 +11:00
Peter Barker
375911cd7c Copter: move PERF: statustext sending into AP_Scheduler 2018-02-13 17:15:05 +11:00
Peter Barker
80a3d63264 Copter: use AP_Scheduler's loop() function 2018-02-13 17:15:05 +11:00
Peter Barker
7f69c5d26d Copter: use scheduler ticks in place of mainloop_count 2018-02-13 17:15:05 +11:00
Peter Barker
bf6a2b8bb5 Copter: tell PerfInfo the configured loop rate 2018-02-13 17:15:05 +11:00
Randy Mackay
9eda7f4e31 Copter: global-pos-int uses system time 2018-02-13 08:52:48 +09:00
Peter Barker
e6ece4cf3d Copter: correct use of parent class constructors (heli) 2018-02-13 08:22:30 +09:00
Randy Mackay
0ca653c8dd Copter: disable winch, gripper, sprayer on v2 build 2018-02-12 13:50:55 +09:00
Andrew Tridgell
7938bd08bb Copter: make flowhold mode conditional
reduces build size on px4-v2 by 4k
2018-02-12 13:34:47 +09:00