Michael du Breuil
cf58f68e49
Plane: Rearrange header to save flash
...
Saves 392 bytes of flash on CubeBlack builds without increasing RAM
consumption at all. This also translates to a speed up as some of these
are looked up every loop multiple times.
6 years ago
Andrew Tridgell
296ce5a409
Plane: fixed throttle failsafe for FS_SHORT_ACTN=3
...
this is a replacement for #12043
many thanks to @Jaaaky for finding this issue
6 years ago
Andrew Tridgell
1b775c96f5
Plane: added rangefinder correction by terrain data
...
allows for landing approach with terrain changes
6 years ago
Peter Barker
7c88eb670c
Plane: RangeFinder uses AP_SerialManager singleton
6 years ago
Peter Barker
38e303389b
Plane: avoidance no longer takes ahrs in constructor
6 years ago
Peter Barker
769e862807
Plane: stop passing relay and ahrs into camera constructor
6 years ago
Andrew Tridgell
ebe2278f5d
Plane: reset rate controller integrators if not run for 2s
...
this prevents a bug where integrator buildup can happen from a
previous flight mode
6 years ago
Peter Barker
3ab266b751
Plane: ServoRelayEvents uses Relay singleton
6 years ago
Michael du Breuil
1d379dd0b3
Plane: Update for AFS interface
6 years ago
Andrew Tridgell
5076058459
Plane: added FENCE_AUTOENABLE=3 option
...
this enables the fence when arming. If the vehicle is outside the
fence or it can't be enabled then arming fails
6 years ago
Peter Barker
400aa53654
Plane: move arming-related functionality into parent classes
...
Logging moves up
arming via mavlink moves up
arming via switch moves up
6 years ago
Tom Pittenger
6970a66cad
Plane: refactor stick_mixing to library
6 years ago
Vinicius Knabben
99ad94ec49
Plane: Added parachute release on critcal sink rate and battery failsafe actions
...
Signed-off-by: Vinicius Knabben <viniciusknabben@hotmail.com>
6 years ago
Peter Barker
ad16f31e11
Plane: call compass cal routine directly from sched table
6 years ago
Peter Barker
3a4cbdd41f
Plane: remove pointless update_notify shim
6 years ago
Michael du Breuil
ea031d720a
Plane: Fix RangeFinder init
6 years ago
Tom Pittenger
ade6281923
Plane: use #if ADVANCED_FAILSAFE == ENABLED just like Rover and Copter
6 years ago
Tom Pittenger
ca40c7f2d5
Plane: create afs_plane.h to match copter and rover structure
6 years ago
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
6 years ago
Peter Barker
6c5c14381f
Plane: move devo telemetry handling to GCS
6 years ago
Peter Barker
1a55f0ffab
Plane: FrSky support has moved to GCS
6 years ago
Andrew Tridgell
3907466f9d
Plane: added TKOFF_TIMEOUT parameter
...
this allows for a timeout on auto-takeoff. This can be combined with
other takeoff parameters to allow the user to abort a hand-launch
after the motor has started without GCS interaction.
The 4m/s threshold is a bit arbitrary. We could make that a parameter
in the future if it is needed
6 years ago
Peter Barker
0edba9070f
Plane: move sending of RPM message up
6 years ago
Peter Barker
ca7566fff9
Plane: use enum class for ArmingMethod and ArmingRequired
6 years ago
Peter Barker
bd444d97dc
Plane: move sending of airspeed_autocal into AP_AirSpeed
6 years ago
Peter Barker
94899bd2ed
Plane: move sending of send_pid_tuning up
6 years ago
Andrew Tridgell
cd1f21b806
Plane: removed some px4 specific code and docs
6 years ago
Peter Barker
cdde2b7d64
Plane: Rally no longer takes ahrs in constructor
6 years ago
Peter Barker
34853fb1bf
Plane: move update_sensor_status_flags into GCS subclasses
6 years ago
Peter Barker
33541dcbf6
Plane: GCS_MAVLink takes care of mavlink capabilities
6 years ago
Peter Barker
5690a0ea4a
Plane: move try_send_message of nav_controller_output up
6 years ago
Mark Whitehorn
95b3a5bacd
ArduPlane: implement hover throttle learning for quadplanes
...
disable by default
check quadplane.enable in update_hover_learn
6 years ago
Peter Barker
b6bf8d8368
Plane: make setting of home boolean in preparation for sanity checks
6 years ago
Peter Barker
5a19f447a7
Plane: devo telemetry no long requires singleton classes to be passed in
6 years ago
Peter Barker
30671a6743
Plane: move handling of command-int MAV_CMD_DO_SET_HOME up
...
Plane: eliminate set_home shim around AP_AHRS::set_home
6 years ago
Peter Barker
cfb3dfc4e5
Plane: AP_Frsky_Telem uses singletons
6 years ago
Peter Barker
b48cb1e367
Plane: move sending of sys_status message up
6 years ago
Andrew Tridgell
5dbf603450
Plane: separate out slew limit logic for left/right throttles
6 years ago
Peter Barker
68b9e64077
Plane: remove old, unfulfilled method declarations
6 years ago
Peter Barker
40856fef56
Plane: remove vestiges of old PX4_MIXER code
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
129762d3af
Plane: APM_Control uses DataFlash singleton, stop passing it
6 years ago
IamPete1
eaed0a2d47
Plane: make rudder differnal thrust global
6 years ago
Peter Barker
5c90a2dab2
Plane: Terrain uses rally singleton
6 years ago
Michael du Breuil
09f6ec8a00
Plane: Remove unneeded AP_Buffer include
6 years ago
Michael du Breuil
47dfafd670
Plane: Ensure that the plane is an appropriate distance out before starting the approach
6 years ago
Michael du Breuil
f1154a6e7c
Plane: Pass the mission command around rather then fetching it
6 years ago
Nikhil Upadhye
d1e93bae83
Plane: adding new mode QAUTOTUNE
...
copter like autotune support for quadplanes and tailsitter in VTOL mode.
cleanup
6 years ago
Peter Barker
d1727d26a1
Plane: rename send_extended_status1 to send_sys_status
6 years ago
Peter Barker
ba3a369651
Plane: remove update_events scheduler shim
6 years ago