Michael du Breuil
ee96ec7f0d
Plane: Support new AP_Vehicle::set_mode
5 years ago
Andrew Tridgell
ff400243e0
Plane: added a new TAKEOFF flight mode
...
takeoff then circle in direction of takeoff
5 years ago
Peter Barker
5d405896f8
Plane: move many members up to base class
5 years ago
Peter Barker
a252aad39b
Plane: become an AP_Vehicle
5 years ago
Michael du Breuil
562b155f63
Plane: Remove unused geofence enable reason
5 years ago
Michael du Breuil
af0dfb6d8b
Plane: Remove unneeded state from geofence
5 years ago
Andrew Tridgell
6572700baa
Plane: fixed an issue with landing on rising ground
...
when landing on rising ground we don't want to use the terrain look
fwd correction for the flare calculation as otherwise we will flare
too early (and thus too high)
5 years ago
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.
5 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