Samuel Tabor
a8549f5e5f
Plane: Use const method on modes classes to mark those that support auto switch to THERMAL mode.
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
Hwurzburg
913d1b81b2
Plane: correct bug that prevents QACRO rudder disarm
4 years ago
Samuel Tabor
9eef30294f
Plane: Separate soaring update in mode_thermal to avoid loop rate issues.
4 years ago
Samuel Tabor
31c681c1cf
Plane: Move soaring functions to mode_thermal.
4 years ago
Iampete1
b61cf72b8c
Plane: tailsitters in Qassist inherit motor state
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
Samuel Tabor
67c152cef2
Plane: Move cruise state into cruise flight mode.
5 years ago
Samuel Tabor
836be4b4b4
Plane: Remove _navigate indirection in Mode.
5 years ago
Samuel Tabor
06eea6ed9f
Plane: Move navigation functions into flight mode classes.
5 years ago
Mark Whitehorn
4630e9af30
Plane: add Mode::is_vtol_man_mode
...
and make use of is_vtol_mode in in_vtol_mode
5 years ago
Mark Whitehorn
e22d9398d3
Plane: add AirMode RC option for quadplanes
...
add Q_OPTION for AirMode (auto-enabled if RCx_OPTION ARMDISARM assigned)
bugfix: manual throttle mix for qacro
qualify auto airmode on/off
add Air Mode to Plane RC_OPTION metadata
restrict airmode to manual throttle modes
add qhover to manual throttle mix
move air_mode from Plane to QuadPlane
add Mode::is_vtol_man_throttle()
5 years ago
Henry Wurzburg
4115603f13
ArduPlane: add terrain follow disable switch for CRUISE/FBWB
5 years ago
Samuel Tabor
36a90cf443
Plane: Remove unused isHeadingLinedUp function, and rename functions to avoid confusion.
5 years ago
Tom Pittenger
394fbb1a50
Plane: unified soaring exit behavior: auto heads to next wp, cruise continues cruise heading, FBW to home
5 years ago
Tom Pittenger
ec8f82422a
Plane: move loiter heading init for auto into auto helper, and properly reset it in loiter mode enter
5 years ago
Tom Pittenger
f397c168e8
Plane: refactor loiter heading exit logic
5 years ago
Michael du Breuil
ee96ec7f0d
Plane: Support new AP_Vehicle::set_mode
5 years ago
Andrew Tridgell
3194059408
Plane: allow TAKEOFF mode on board with no compass
5 years ago
Andrew Tridgell
ff400243e0
Plane: added a new TAKEOFF flight mode
...
takeoff then circle in direction of takeoff
5 years ago
Andrew Tridgell
cd72657c94
Plane: fixed qautotune exit
...
this was lost in the onion changes
6 years ago
Tom Pittenger
fbe483ccac
Plane: gracefully-ish fail set_mode(qmode)
6 years ago
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
6 years ago