Samuel Tabor
9eef30294f
Plane: Separate soaring update in mode_thermal to avoid loop rate issues.
2020-10-13 10:25:32 +11:00
Samuel Tabor
31c681c1cf
Plane: Move soaring functions to mode_thermal.
2020-10-13 10:25:32 +11:00
Iampete1
b61cf72b8c
Plane: tailsitters in Qassist inherit motor state
2020-09-30 18:12:44 +10:00
Andy Piper
d16872cca5
Plane: compile out ADSB mode if required
2020-09-24 08:22:16 -07:00
Samuel Tabor
10111f92d5
Plane: Rename SOARING_ENABLED to HAL_SOARING_ENABLED and don't compare to ENABLED.
2020-09-24 07:30:48 +10:00
Samuel Tabor
0a738395fa
Plane: Add THERMAL mode for thermal soaring.
2020-09-24 07:30:48 +10:00
Samuel Tabor
67c152cef2
Plane: Move cruise state into cruise flight mode.
2020-08-22 09:30:15 +10:00
Samuel Tabor
836be4b4b4
Plane: Remove _navigate indirection in Mode.
2020-08-20 13:02:06 +10:00
Samuel Tabor
06eea6ed9f
Plane: Move navigation functions into flight mode classes.
2020-08-20 13:02:06 +10:00
Mark Whitehorn
4630e9af30
Plane: add Mode::is_vtol_man_mode
...
and make use of is_vtol_mode in in_vtol_mode
2020-08-13 08:47:27 +10:00
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()
2020-08-13 08:47:27 +10:00
Henry Wurzburg
4115603f13
ArduPlane: add terrain follow disable switch for CRUISE/FBWB
2020-07-08 13:39:42 +10:00
Samuel Tabor
36a90cf443
Plane: Remove unused isHeadingLinedUp function, and rename functions to avoid confusion.
2020-04-08 09:11:54 +10:00
Tom Pittenger
394fbb1a50
Plane: unified soaring exit behavior: auto heads to next wp, cruise continues cruise heading, FBW to home
2020-04-08 09:11:54 +10:00
Tom Pittenger
ec8f82422a
Plane: move loiter heading init for auto into auto helper, and properly reset it in loiter mode enter
2020-04-08 09:11:54 +10:00
Tom Pittenger
f397c168e8
Plane: refactor loiter heading exit logic
2020-04-08 09:11:54 +10:00
Michael du Breuil
ee96ec7f0d
Plane: Support new AP_Vehicle::set_mode
2019-10-25 08:48:22 +08:00
Andrew Tridgell
3194059408
Plane: allow TAKEOFF mode on board with no compass
2019-10-17 12:19:43 +11:00
Andrew Tridgell
ff400243e0
Plane: added a new TAKEOFF flight mode
...
takeoff then circle in direction of takeoff
2019-10-17 12:19:43 +11:00
Andrew Tridgell
cd72657c94
Plane: fixed qautotune exit
...
this was lost in the onion changes
2019-05-02 06:59:12 +10:00
Tom Pittenger
fbe483ccac
Plane: gracefully-ish fail set_mode(qmode)
2019-04-02 16:28:52 +11:00
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
2019-04-02 16:28:52 +11:00