Commit Graph

5513 Commits

Author SHA1 Message Date
Dr.-Ing. Amilcar Do Carmo Lucas
5b7116bbbd Copter: Fix else formating (NFC)
git history on these lines is not important, this is a simple else
2018-03-15 07:51:26 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
db90ee6841 Copter: Remove RTL_ parameters if RTL flight mode is disabled 2018-03-15 07:38:50 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
21c33b60db Copter: Remove DRIFT mode code if DRIFT mode is disabled. 2018-03-15 07:38:14 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
ed36ec3c29 Copter: add option to disable THROW mode 2018-03-15 07:38:14 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
b27c00dc5f Copter: add option to disable ACRO mode 2018-03-15 07:38:14 +09:00
Randy Mackay
20ac17cda8 Copter: remove adsb beacon nav-guided and visodom from min features 2018-03-14 20:41:47 +09:00
Ebin
b8a307cdd0 Copter: Changed log message IDs to enum
Changes log message IDs to enum, removes values in LoggingParameters enum
and removes deprecated params in LogParameters.
2018-03-14 09:33:39 +09:00
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
2018-03-14 09:33:39 +09:00
Ebin
20995b909f Copter: Moved get_pilot_desired_lean_angles to mode.cpp 2018-03-14 09:33:39 +09:00
Andrew Tridgell
62522a4e1d Copter: fixed docs for Follow mode number 2018-03-13 07:53:16 +09:00
Peter Barker
d88bd52a53 Copter: use baro singleton 2018-03-08 21:20:05 -08:00
Peter Barker
9f05556801 Copter: delete correct assignment operator 2018-03-08 21:20:05 -08:00
Peter Barker
9bffeb4117 Copter: use AHRS singleton in GCS_MAVLink 2018-03-07 12:34:39 +00:00
Peter Barker
bc4f021516 Copter: use AP::ahrs() for ADSB 2018-03-07 12:34:39 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
35a4748c06 Copter: follow mode renames and comment improvements 2018-03-06 09:50:16 +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
Randy Mackay
053983eb70 Copter: integrate AP_Follow into chase mode 2018-03-05 15:08:08 +09:00
Peter Barker
199455dc56 Copter: add chase mode 2018-03-05 15:08:08 +09:00
Randy Mackay
0840f0e8ae Copter: add AP_Follow to build 2018-03-05 15:08:08 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
bc86ca0e3c Copter: simplify Log_Write_Proximity 2018-03-03 17:13:34 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
b0f22833f6 Copter: Add GRIPPER_ENABLED macro to user config file 2018-03-03 17:13:24 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
c1246c59e0 Copter: disable scheduler tasks for optional features 2018-03-03 17:10:34 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
bbd1aa1cab Copter: Improve interoperation of AC_AVOID_ENABLED and BEACON_ENABLED 2018-03-03 17:10:26 +00:00
Pierre Kancir
50c3ed1460 Copter : allow rc_override input at start
found by chobitsfan
2018-03-02 16:23:11 +00:00
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