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
Randy Mackay
2c0df87585
Copter: Copter.h method reordering
7 years ago
Peter Barker
6c82f7671d
Copter: move all commands logic into AUTO flightmode
7 years ago
Andrew Tridgell
8ab0ac8a16
Copter: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Peter Barker
377466ddda
Copter: fence no longer requires AP_InertialNav
7 years ago
Randy Mackay
2d23e1f7c7
Copter: rename flightmode_ objects to mode_
7 years ago
Randy Mackay
c3fbf2671c
Copter: rename control_xx.cpp files to mode_xx.cpp
7 years ago
Randy Mackay
06fbe8f3a7
Copter: rename FlightMode class to Mode
...
also remove unused print_FlightMode method
7 years ago
Randy Mackay
0ac708b5a0
Copter: remove ability to disable PosHold flight mode
...
This flight mode is stable and regularly used so it is unlikely that we ever want to disable it
7 years ago
Randy Mackay
8870897847
Copter: FlightMode objects use lower case
7 years ago
Peter Barker
5d33cf08e1
Copter: eliminate calc_home_distance_and_bearing
...
Calling update_simple_mode_bearing calls get-heading
rather than the other way around
This will have the advantage of not calculating home bearing
when we stop calling update_simple_mode_bearing unnecesarily
7 years ago