Iampete1
60d26723ae
Plane: make TERRAIN_FOLLOW at AP_int32 bitmask, per mode option
4 years ago
Hwurzburg
d15e01d390
Plane: fix DO_CHANGE_SPEED airspeed to impact only AUTO and GUIDED modes
4 years ago
James O'Shannessy
5dd40afe0a
ArduPlane: Retrigger fence breach if mode
...
ArduPlane: Move auto enabling code to common fence library
4 years ago
James O'Shannessy
8a99d9dd00
ArduPlane: Use auto enable and auto disable from AC_Fence
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
4f7ffc5eb1
Plane: move fence disable code to a function to enable reusability
4 years ago
James O'Shannessy
aae092b88f
ArduPlane: Remove all unused geofence capability
...
ArduPlane: Remove missed geofence logic
4 years ago
James O'Shannessy
17fb585bf1
ArduPlane: Add support for AC_Fence
...
ArduPlane: Remove some geofence logic from ArduPlane
ArduPlane: Refactor action and mode return implementation
ArduPlane: Use polyfence to find the return point.
4 years ago
Peter Barker
af29f34f2c
Plane: store previous_mode_reason only as a local
...
It's never used outside the mode-changing method.
4 years ago
Patrick José Pereira
cdc7f891a9
ArduPlane: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Peter Barker
eaa6b36077
ArduPlane: move control_mode_reason up to AP_Vehicle
4 years ago
Peter Barker
6baaf03c8c
Plane: move auto_throttle_mode to being a method on each mode
4 years ago
Peter Barker
f6cb1b5ad6
Plane: use a method on Mode for auto-navigation-mode
...
Avoids the state getting stale, which it will with a failed attempt to
go into qautotune, for example.
4 years ago
Peter Barker
a1ea1306a1
Plane: use pure-virtual method for allows_throttle_nudging
...
In place of a state variable which could become stale
4 years ago
yaapu
141010ac39
ArduPlane: added virtual getters for waypoint info
4 years ago
Andrew Tridgell
cd6ddf7d4f
Plane: fixed disable of geofence on quadplane landing
...
fixes #15917
4 years ago
Hwurzburg
3cdcce2123
ArduPlane: add inflight airspeed cal rc switch
4 years ago
Andy Piper
fa454da315
Plane: allow OSD for TX-only screens
4 years ago
Hwurzburg
cf055fd1e0
Plane: add midposition to flare RC option sw
4 years ago
Hwurzburg
b61ee34b6b
ArduPlane: add RC option for landing flare
4 years ago
Samuel Tabor
31c681c1cf
Plane: Move soaring functions to mode_thermal.
4 years ago
Iampete1
2820228ad6
Plane: only do_change_speed within FBW min and max
4 years ago
Andy Piper
d16872cca5
Plane: compile out ADSB mode if required
4 years ago
Samuel Tabor
10111f92d5
Plane: Rename SOARING_ENABLED to HAL_SOARING_ENABLED and don't compare to ENABLED.
4 years ago
Samuel Tabor
0a738395fa
Plane: Add THERMAL mode for thermal soaring.
4 years ago
Andy Piper
c057be8ed1
Plane: conditionally compile ADSB support
4 years ago
Samuel Tabor
87530c1b2b
Plane: Soaring: Remove exit_mode argument from soaring_restore_mode.
4 years ago
Samuel Tabor
93bcfc4c3e
Plane: Assign flap channel in set_control_channels() to avoid expensive call in set_servos_flaps().
4 years ago
Samuel Tabor
590ebb180c
Plane: Update airbrake channel assignment in set_control_channels() to avoid expensive call in airbrake_update()
4 years ago
Samuel Tabor
f1290a2e17
Plane: Add use of airbrakes, used when throttle is negative OR via RC channel option.
4 years ago
Samuel Tabor
67c152cef2
Plane: Move cruise state into cruise flight mode.
5 years ago
Samuel Tabor
334fd4afbc
Plane: Remove update_navigation() method.
5 years ago
Andrew Tridgell
3c705d1c60
Plane: added THR_FAILSAFE=2 option
...
this allows for RC inputs to be ignored at low throttle, but won't
trigger failsafe. It is meant for users flying BVLOS missions, where
they want GCS failsafe enabled, but don't want RC failsafe, and want
to be sure that RC inputs will be ignored at low RC throttle values
Thanks to suggestion from Pompecukor
5 years ago
Samuel Tabor
b2d63c5049
Plane: Refactor soaring.cpp.
5 years ago
Andy Piper
b649afe9e5
Plane: make mount/gimbal inclusion configurable per-board
5 years ago
Henry Wurzburg
16a15f5450
ArduPlane: add CROW flaps mode select switch
5 years ago
Henry Wurzburg
4115603f13
ArduPlane: add terrain follow disable switch for CRUISE/FBWB
5 years ago
Andy Piper
9077d41df1
Plane: add support for tracking fft peaks and individual motor rpms with harmonic notches
...
log harmonic notch even if FFT is disabled. Fallback to throttle notch for BLHeli
move harmonic notch update to AP_Vehicle
5 years ago
Paul Riseborough
fdb4f908bb
ArduPlane: Fix bug in forward throttle voltage compensation
...
The existing code does not adjust the upper and lower throttle limits with the result that at and of discharge climb and reverse thrust performance is significantly degraded.
5 years ago
Iampete1
4b7d45e549
Plane: label and sort plane.h functions
5 years ago
Buzz
0f5177b291
Plane: Support a set of offboard MAVLink guided controls with rates
...
+ 3 rounds of fixes
5 years ago
Andrew Tridgell
8b21f5117a
Plane: implement RTL_CLIMB_MIN parameter
...
this allows for an initial climb on RTL where roll is limited to
LEVEL_ROLL_LIMIT
5 years ago
Paul Riseborough
cd5714d059
ArduPlane: Allow EKF dead reckoning to continue after loss of GPS
5 years ago
Paul Riseborough
40cc5a5006
ArduPlane: Improve EKF failsafe in VTOL modes
...
Replicates Copter behaviour with a three step process if the EKF sustains a loss of navigation as detected by high GPS innovation test ratios:
1) Attempts a yaw reset using the GSF estimate if available
2) Attempts a lane switch
3) Falls back to a non-position mode
5 years ago
Peter Barker
f17ea78a6c
Plane: move sending of WIND message to GCS namespace
5 years ago
Peter Barker
e75fa6fb15
Plane: move sending of AOA_SSA message to GCS namespace
5 years ago
Iampete1
3ded030fa8
Plane: compensate forward throttle for battery voltage drop
5 years ago
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