Commit Graph

401 Commits

Author SHA1 Message Date
Randy Mackay
59e4749fd0 Copter: integrate AC_Loiter
includes param conversion
2018-04-04 10:45:10 +09:00
Peter Barker
0c8110ecb2 Copter: factor vehicle's mavlink send_heartbeat 2018-04-03 13:05:19 +01:00
Peter Barker
d58e2214d2 Copter: tidy handling of barometer calibrations 2018-04-02 23:25:05 +01:00
Peter Barker
cca4d5136e Copter: move common calibration functions up 2018-04-02 23:25:05 +01:00
Dr.-Ing. Amilcar do Carmo Lucas
d633ba8c46 Copter: Add option to disable RPM module 2018-03-30 09:36:48 +09:00
Ebin
1ff4019ddf ArduCopter: moved landing control fns from Copter to Mode
land_run_horizontal_control(),land_run_vertical_control(),get_alt_above_ground() moved to Mode
2018-03-29 16:50:00 +01:00
Michael du Breuil
291531e056 Copter: Support new battery failsafes 2018-03-27 22:12:21 +01:00
priseborough
4b00f399b4 Copter: Clarify definition for gps_glitching flag 2018-03-27 20:28:55 +09:00
Peter Barker
45f2312bfe Copter: move home state into AP_AHRS 2018-03-19 10:32:37 +09:00
Peter Barker
2749ee9060 Copter: use ins singleton 2018-03-16 00:37:35 -07:00
Randy Mackay
4a74b1b5e5 Copter: replace NTUN with PSC logging 2018-03-16 13:50:57 +09:00
Leonard Hall
9544b1763b Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc 2018-03-16 13:50:57 +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
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
Peter Barker
d88bd52a53 Copter: use baro singleton 2018-03-08 21:20:05 -08:00
Peter Barker
bc4f021516 Copter: use AP::ahrs() for ADSB 2018-03-07 12:34:39 +00: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
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
bbd1aa1cab Copter: Improve interoperation of AC_AVOID_ENABLED and BEACON_ENABLED 2018-03-03 17:10:26 +00:00
Peter Barker
b8e1f03599 Copter: add define for disabling beacon 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
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
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
002494c048 Copter: Obey CAMERA == DISABLED 2018-02-21 17:03:28 +10:00
Peter Barker
730adc3f7c Copter: eliminate perf_update scheduler table shim 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
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
Andrew Tridgell
7938bd08bb Copter: make flowhold mode conditional
reduces build size on px4-v2 by 4k
2018-02-12 13:34:47 +09:00
murata
c31c2a4cf1 Copter: optionalize the winch 2018-02-12 12:16:57 +09:00
Peter Barker
40d74584ac Copter: remove shims used in scheduler 2018-02-12 11:19: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