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
Andrew Tridgell
68a1100c64
Plane: use new APIs for takeoff/touchdown expected
4 years ago
Hwurzburg
bf14c32109
Plane: correct description of Q_TAILSIT_MOTMX param
4 years ago
Leonard Hall
e275ec9e63
Plane: Rename set_yaw_target_to_current_heading
4 years ago
Hwurzburg
38ed4a2dd6
ArduPlane: make centideg metadata incr and range consistent
4 years ago
Leonard Hall
8b3b6cf693
Plane: Fix before squash
4 years ago
Andrew Tridgell
d1f6d913d5
Plane: adjust reposition landing code
...
use accel with 1s timeconstant
4 years ago
Andrew Tridgell
5857e750ce
Plane: provide target velocity in QPOS descent
4 years ago
Andrew Tridgell
71fa52d5c6
Plane: fixed slowing descent in final phase of QLAND
4 years ago
Andrew Tridgell
ec1cbb06fd
Plane: allow reposition in auto land
4 years ago
Andrew Tridgell
6eafcdb558
Plane: added Q_OPTION bit for throttle control of landing speed
4 years ago
Andrew Tridgell
24375cf9c1
Plane: change printf calls to send_text
4 years ago
Andrew Tridgell
52b4c257ec
Plane: prevent oscillation in GUIDED mode hover
4 years ago
Andrew Tridgell
5a880c74b6
Plane: use input shaping from pos_control
...
smoother navigation with new input shaping code
4 years ago
Andrew Tridgell
a6ec7d9f23
Plane: ensure xy controller is initialised
4 years ago
Andrew Tridgell
9d52333afc
Plane: don't start descent till under 3m/s
4 years ago
Leonard Hall
4bae8f03a4
Copter: Use PosControl fixes
4 years ago
Leonard Hall
57952861d6
Plane: PosControl Update
4 years ago
Leonard Hall
ff2ae1d7d1
Plane: integrate AC_PosControl::get_roll_cd rename
4 years ago
Leonard Hall
1ce63bf433
Plane: minor format and comment fixes
4 years ago
Iampete1
1a182a52da
Plane: init terrain to locaiton and wpnav sub sytems
4 years ago
Iampete1
572e401894
Plane: fix QRTl terrain following
4 years ago
Andrew Tridgell
b749756c29
Plane: setup SMAX for Q modes
...
this enables logging of rates, which helps with tuning
4 years ago
Peter Hall
105f94f1fd
Plane: tailsitter: transistion to and from inverted flight
4 years ago
Peter Hall
5a941ce02f
PLane: tailsitter: instant transition when disarmed
4 years ago
Peter Hall
33f9e3d4b6
plane: add tailsitter transision rates, give more info in transision complete messages
4 years ago
Iampete1
75dc0ced10
Plane: Quadplane: remove outdated Z controller reset
4 years ago
Iampete1
d1fabe0c3d
Plane: VTOL: remove motors config error
4 years ago
Iampete1
e81dc36ed6
Plane: add option do do a VTOL approach RTL
4 years ago
Hwurzburg
8aabf7c22a
Plane: Add VTOL descent rate, convert existing rate to climb rate only
...
Co-authored-by: Reko Merio K9260@student.jamk.fi
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
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
Randy Mackay
4c8ada111b
Plane: quadplane defaults Q_WP_SPEED to 500
...
Q_WP_ACCEL default is set to 100
4 years ago
Iampete1
1d050a01ce
Plane: Quadplane: add Q_OPTION to ignore forward flight angle limits in Q modes
4 years ago
Iampete1
8ebe64a274
Plane: Quadplane disable forward motor assist in Q modes if rangefinder is out of range low
4 years ago
Andrew Tridgell
44df1dd0ca
Plane: fixed the pitch control in transition for tilt rotors
...
this fixes an issue found by Henry. If level transition is set when
transitioning to FBWA from a Q mode, and the pilot pulls back on the
pitch stick to demand pitch up then the plane would go into a
high-alpha flight state with low vertical throttle so it would not
climb, resulting in it never getting past airspeed wait state
4 years ago
Andrew Tridgell
319368e4b7
Plane: fixed yaw on fwd transition in tilt quadplanes
...
this fixes the coordinated turn calculation for yaw rate in tilt
quadplanes, and also only applies it if demanding at least 10 degrees
roll.
this fixes an issue when the pilot has a small roll demand in FBWA
from slightly off roll RC trim
thanks to Henry for helping diagnose this!
4 years ago
Mark Whitehorn
236961f17f
Plane: use get_frame_class/type string methods
...
use AP_Enum<> for frame_class/type
remove invalid copterTS check
improve quadplane setup failure message
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
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
Iampete1
004f873dc7
Plane: update Quadplane FRAME_CLASS description
4 years ago