Iampete1
e9fbf6db24
Plane: fix guided heading control anti windup
2023-10-03 11:28:18 +11:00
Iampete1
5ec479579f
Plane: move guided roll, pitch and throttle overrides upto guided mode
2023-04-18 09:36:06 +10:00
Iampete1
549dd3875d
Plane: add mode ahrs convenience refence
2023-02-21 11:27:24 +11:00
Iampete1
4a21af22cb
Plane: move mode update_target_altitude to correct files
2022-12-27 10:30:14 +11:00
Tom Pittenger
46bc30a40c
Plane: add guided radius to mavlink DO_REPOSITION
2022-10-11 09:35:28 -07:00
Peter Barker
2784f8fa7f
Plane: remove persistent guided_WP_loc state
...
So instead of updating plane.guided_WP_loc and then calling
set_guided_WP(void) to copy that state into plane.next_WP_loc we pass
the new location in the call to set_guided_WP(const Location &loc).
avoidance was the only place which was not entirely over-writing
plane.guided_WP_loc. However, plane.next_WP_loc was updated to be the
current location when we entered guided mode. If we update the
horizontal/vertical avoidance now it is relative to the current
location, not the guided wp location, which could be quite important.
2022-03-22 10:14:40 +11:00
Iampete1
a0260b05b3
Plane: handle_guided_request per mode
2021-09-28 09:31:13 +10:00
Peter Barker
3d34e061fe
ArduPlane: add and use HAL_QUADPLANE_ENABLED
2021-09-14 11:23:18 +10:00
Andrew Tridgell
fd19ff3bea
Plane: offset guided start point when using Q_GUIDED_MODE
2021-06-05 13:05:30 +10:00
Hwurzburg
d15e01d390
Plane: fix DO_CHANGE_SPEED airspeed to impact only AUTO and GUIDED modes
2021-03-16 10:09:34 +11:00
Peter Barker
6baaf03c8c
Plane: move auto_throttle_mode to being a method on each mode
2021-01-10 16:04:30 +11:00
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.
2021-01-10 16:04:30 +11:00
Peter Barker
a1ea1306a1
Plane: use pure-virtual method for allows_throttle_nudging
...
In place of a state variable which could become stale
2021-01-10 16:04:30 +11:00
Samuel Tabor
836be4b4b4
Plane: Remove _navigate indirection in Mode.
2020-08-20 13:02:06 +10:00
Samuel Tabor
6a27866df4
Plane: Call plane.update_loiter() rather than plane.mode_loiter.navigate().
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
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
2019-04-02 16:28:52 +11:00