TunaLobster
cbf6c2926f
ArduPlane: Remove @RebootRequired : False
4 years ago
Andrew Tridgell
58c823284c
Plane: mark logger Write() calls as streaming where appropriate
4 years ago
Iampete1
baf2b4a3d8
Plane: Qstabilize: mode functions to ModeQStabilize
4 years ago
Iampete1
44e63861ce
Plane: QRTL: move functions to ModeQRTL
4 years ago
Iampete1
f75919e727
plane: QLoiter: move functions to ModeQLoiter
4 years ago
Iampete1
921116e7a3
Plane: QLand: move functions to ModeQLand
4 years ago
Iampete1
737096f342
Plane: QHover: move functions to ModeQHover
4 years ago
Iampete1
a1fa683272
plane: Qautotune: move functions to ModeQAutotune
4 years ago
Iampete1
e293866245
plane: Qacro: move functions to ModeQAcro
4 years ago
Leonard Hall
65b58dea85
Plane: fix PID filter names FILT -> FLTE, D_FILT -> FLTD
4 years ago
Peter Hall
ed4345cb3b
Quadplane: tailsitter: provide assistance at min throttle
4 years ago
Peter Hall
2527117cf9
Quadplane: combine assistance_needed and assistance_safe functions
4 years ago
Iampete1
7ff592d29e
Plane: Quadplane: move mode functions to mode classes in-place
4 years ago
Hwurzburg
b539a534e9
Plane: improve description of Q_TRIM_PITCH
4 years ago
Iampete1
beefd95079
Plane: QuadPlane: tailsitter param conversion, set and use new enable param
4 years ago
Iampete1
0eab3faf32
Plane: use new tailsiter class
4 years ago
Iampete1
2bc2b9533b
Plane: QuadPlane: move tailsitter to class
4 years ago
Peter Barker
06c2faaec5
ArduPlane: rename for AHRS restructuring
4 years ago
Hwurzburg
19213d3627
Plane: Allow yaw at zero throttle in VTOL descents
4 years ago
Iampete1
015b971ccb
Plane: add new dynamic mixer frame class
4 years ago
Peter Barker
93323f1f39
Plane: stop setting terrain singleton; libraries use singleton
4 years ago
Leonard Hall
7db568c85a
Plane: seperate kinimatic shaping from pid limit setting
4 years ago
Andrew Tridgell
50e6d67a66
Plane: update for new double precision position APIs
4 years ago
Andrew Tridgell
61ac45dd5a
Plane: use cleaned up APIs
4 years ago
Andrew Tridgell
66bc673442
Plane: fixed attitude control during QPOS_AIRBRAKE
...
this fixes a bug where we used the multicopter rate control when in
airbrake approach stage, which could lead to attitude going out of
control
4 years ago
Iampete1
6eab9b9c15
plane: quadplane: skip QPOS_POSITION1 on tailsitters
4 years ago
Hwurzburg
4f48233b43
ArduPlane: add QRTL always as Q_RTL_MODE option
4 years ago
Andrew Tridgell
0c8e81964e
Plane: reset yaw controller on entry to POSITION1
...
this fixes a yaw change when we finish landing approach in
QRTL. Thanks to Henry for noticing this
4 years ago
Andrew Tridgell
4307390820
Plane: fixed distance threshold for vtol land
4 years ago
Andrew Tridgell
f749c2c3ad
Plane: fixed issue with overspeed in QPOS_POSITIION1
...
this fixes the backflip issue on the convergence that Henry found
4 years ago
Andrew Tridgell
ae6220aace
Plane: cope with zero distance to target in QPOS_POSITION1
4 years ago
Andrew Tridgell
0f9e7001d1
Plane: limit speed in POSITION1 based on angle
...
this prevents trying to fly a quadplane fast backwards or sideways. If
flying backwards then a 3x reduction is used. For sideways a 2x
reduction is used
4 years ago
Andrew Tridgell
74ac9964f1
Plane: improved POSITION1 speed profile
...
allow acceleration up to the Q_WP_SPEED, and assume a decel profile
matching Q_TRANS_DECEL for approach speed
4 years ago
Andrew Tridgell
5f8e90cd6f
Plane: metadata fix for Q_OPTIONS
4 years ago
Andrew Tridgell
3611b1dbf7
Plane: added check for QPOS initialisation
...
thanks to Kris for noticing this!
4 years ago
Andrew Tridgell
db34577755
Plane: use a separate bit for landing reposition in quadplanes
...
when repositioning stop descent
4 years ago
Andrew Tridgell
06cd077c36
Plane: fixed stick mixing with land reposition in quadplanes
...
prevent stick mixing overriding landing control
4 years ago
Andrew Tridgell
f970735d47
Plane: fixed handling of NAV_LOITER_TIME with Q_GUIDED_MODE=1
...
and made logic of in_vtol_mode() easier to read
4 years ago
Andrew Tridgell
aa904d6bbc
Plane: fixed guided mode handling with new approach code
...
ensure we treat guided approach as not a vtol mode
4 years ago
Andrew Tridgell
f15497c6a9
Plane: only do fwd thrust loss detection in SLT vehicles
...
on tilt rotors and tailsitters it doesn't make sense to switch to
POSITION1 at low speeds when in APPROACH
4 years ago
Andrew Tridgell
0232fa7456
Plane: cope with fwd thrust loss in Q approach
...
if throttle is saturated and descending and low airspeed then declare
thrust loss
4 years ago
Andrew Tridgell
fbf5083e6a
Plane: avoid transition in QRTL
...
if close to home and already in a VTOL mode then don't transition
4 years ago
Andrew Tridgell
77ee922473
Plane: fixed NAV_CONTROLLER_OUTPUT in QRTL
4 years ago
Andrew Tridgell
245ded2f2d
Plane: fixed handling of loss of fwd thrust in QRTL
4 years ago
Andrew Tridgell
c7a14a5da1
Plane: disable cross-track in Q approach modes and QRTL
4 years ago
Andrew Tridgell
46722500b0
Plane: default Q_TRANS_DECEL to 6 for tailsitters
4 years ago
Andrew Tridgell
a7b809d5d4
Plane: added approach and airbrake options
...
this defaults VTOL landings to have an approach and airbraking stage,
allowing for more efficient landings. Can be disabled by setting
Q_OPTIONS bit 16
4 years ago
Andrew Tridgell
ddfc9e8300
Plane: improved quadplane auto-land into wind
...
when heading is strong we need to ramp up pitch limit slowly to
prevent a big dive
4 years ago
Andrew Tridgell
b4992cc226
Plane: added accessors for poscontrol state
...
allows for time since state entered
4 years ago
Andrew Tridgell
f1f7f01300
Plane: slave fixed wing desired rate to multicopter desired rate
...
this ensures that the two rate controllers don't fight each other when
in a VTOL mode
4 years ago