Andrew Tridgell
156fe0846f
Plane: fixed plane landing gear to obey LGR_OPTIONS bits
...
we forced landing gear retract/deploy on takeoff and landing when we
should be following the options bits
5 years ago
Samuel Tabor
298088268a
Plane: Soaring, don't wait for heading if too low, and add timeout otherwise.
5 years ago
Rishabh
a76d0e3002
Plane: Remove SONR messages logging
5 years ago
Andrew Tridgell
9f92aad711
Plane: implement get and set target location
5 years ago
Peter Barker
5ff1630c63
ArduPlane: move initialisation of serial and gcs to AP_Vehicle
5 years ago
Peter Barker
58d45ef04a
Plane: let AP_Vehicle handle loop()
5 years ago
Peter Barker
a5a75e61da
ArduPlane: move some common init_ardupilot code up to AP_Vehicle
5 years ago
Peter Barker
a45abc7762
Plane: move setup method up to AP_Vehicle base class
5 years ago
Peter Barker
024c86bdab
Plane: let AP_Vehicle base class worry about scheduler delay callback
5 years ago
Tatsuya Yamaguchi
1f9f84044c
Plane: allow scripts to get modes
5 years ago
Peter Barker
71017cb288
Plane: vehicle parent class now instantiates AHRS
5 years ago
Andrew Tridgell
d872ca27ce
Plane: added dynamic harmonic notch support
5 years ago
Andrew Tridgell
2b27cd2ce9
Plane: Add EFI Support
5 years ago
Peter Barker
0626f1fc2f
Plane: stop providing current location to mount
5 years ago
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