Commit Graph

2794 Commits

Author SHA1 Message Date
Andrew Tridgell
e62e40a5c9 Plane: updated release notes for 3.8.4 release 2018-01-09 09:05:49 +11:00
Andrew Tridgell
cd9c0f091e Plane: prepare for 3.8.4 release 2018-01-09 09:05:38 +11:00
Andrew Tridgell
b59bbdab8c Plane: fixed transitions for tailsitters after auto-takeoff
need to use angle wait
2017-11-19 16:34:24 +11:00
Andrew Tridgell
f02db254b7 Plane: fixed a division by zero
if min airspeed is zero
2017-11-19 16:34:22 +11:00
Andrew Tridgell
031166f64d Plane: prepare for 3.8.3 release 2017-11-13 15:05:07 +11:00
Andrew Tridgell
1dd91732b0 Plane: updated release notes for 3.8.3 2017-11-13 15:04:36 +11:00
Andrew Tridgell
edc2509ac7 Plane: disable rudder scaling in tailsitters
this is most often implemented as dual-motor differential thrust, and
we don't want to do surface speed scaling for that.

In the future we'll move this scaling so it can be done on rudders for
3D planes
2017-11-13 14:58:40 +11:00
Michael du Breuil
ec86a30a4d Plane: Support unlocking cruise heading with rudder 2017-11-09 09:42:03 +11:00
Andrew Tridgell
dc85e538e1 Plane: prepare for 3.8.3beta4 2017-11-05 21:41:40 +11:00
Andrew Tridgell
7d6aeb7789 Plane: update release notes for 3.8.3beta4 2017-11-05 21:41:15 +11:00
Andrew Tridgell
b0e401d91b Plane: extend QLOITER transition pitch limit
use twice transition time for pitch envelope to reduce QLOITER
transition harshness
2017-11-05 21:40:08 +11:00
Andrew Tridgell
57e7be0502 Plane: fixed a warning 2017-11-05 21:40:05 +11:00
Andrew Tridgell
1583d18b20 Plane: added Q_TRANS_DECEL
this gives a deceleration rate for QRTL transition from RTL, and also
for transitions to QLOITER
2017-11-05 21:39:54 +11:00
Andrew Tridgell
08ef1dfbdb Plane: smooth out fwd tailsitter transition
use Q_TRANSITION_MS and the transition angle to pitch forward more
slowly
2017-11-05 21:39:07 +11:00
Andrew Tridgell
0a70ed2516 Plane: added tailsitter surface speed scaling
added scaling of control surfaces by throttle when in hover. This helps
the controller remain stable over a wide range of throttle levels, such
as when descending or rapidly climbing
2017-11-05 21:39:04 +11:00
Michael du Breuil
8e53fb2a78 ArduPlane: Only run is_flying landing checks when in landing stage 2017-11-04 10:07:35 +11:00
Andrew Tridgell
4c5b1e1fc5 Plane: prepare for 3.8.3beta3 2017-11-04 10:05:27 +11:00
Andrew Tridgell
02bdacd0b6 Plane: updated release notes for 3.8.3beta3 2017-11-04 10:05:04 +11:00
Andrew Tridgell
301b97df61 Plane: re-implement MIXING_OFFSET
this was lost in the conversion of SRV_Channels
2017-11-04 09:41:15 +11:00
Andrew Tridgell
5631056f10 Plane: log currently used airspeed
this logs whatever airspeed is being used for flight
2017-11-01 09:21:28 +11:00
Andrew Tridgell
e715e47f0c Plane: prepare for 3.8.3beta2 2017-10-31 18:04:39 +11:00
Andrew Tridgell
0072b21f5b Plane: updated release notes for 3.8.3beta2 2017-10-31 18:04:25 +11:00
Andrew Tridgell
26e4f8ccb3 Plane: fixed GUIDED loiter with Q_RTL_MODE=1
this was broken by the recent RTL_RADIUS changes

thanks to Nick for noticing this!
2017-10-31 18:01:33 +11:00
Andrew Tridgell
5967597f43 Plane: prepare for 3.8.3beta1 2017-10-30 16:51:46 +11:00
Andrew Tridgell
03d77b023d Plane: use WP_LOITER_RAD if RTL_RADIUS is 0 for QRTL 2017-10-30 16:51:46 +11:00
Andrew Tridgell
a915a9a71e Plane: use RTL_RADIUS for QRTL threshold
when Q_RTL_MODE=1 in a quadplane use RTL_RADIUS as the distance to
switch to QRTL mode. We navigate to the destination using direct
waypoint navigation instead of using a loiter circle.
2017-10-30 16:25:47 +11:00
Andrew Tridgell
3d20973ae2 Plane: smoother tailsitter transitions
this smooths out tailsitter transitions in both directions, adding a
new FW to VTOL transition state
2017-10-30 15:26:08 +11:00
Andrew Tridgell
9709bca7b4 Plane: prevent a float exception at pitch 90
this can happen with a tailsitter
2017-10-30 15:26:08 +11:00
Andrew Tridgell
1ad929c56e Plane: fixed tailsitter ANGLE_WAIT transition
we need vtol control during transition from hover to fwd flight
2017-10-30 15:26:08 +11:00
Andrew Tridgell
17ef7e68b1 Plane: implement Q_OPTIONS
this allows for NAV_TAKEOFF to be treated as NAV_VTOL_TAKEOFF in
quadplanes, and for level flight to be maintained during quadplane
transitions
2017-10-29 19:52:01 +11:00
Andrew Tridgell
f88f512dc6 Plane: relax controllers when disarmed
this prevents any remaining integrator from a previous flight stage from
affecting flight across a disarm
2017-10-29 18:15:20 +11:00
Andrew Tridgell
bf0e1ac554 Plane: support LOITER_TO_ALT in quadplanes 2017-10-21 18:50:47 +11:00
Andrew Tridgell
ec84fa0711 Plane: make mav_type in HEARTBEAT configurable
needed for qgc to setup for quadplanes
2017-10-20 15:39:44 +11:00
Andrew Tridgell
62273d2c1f Plane: prevent controller windup on ground
when on the ground in an auto-throttle mode lik FBWB or CRUISE, we may
have the throttle suppressed. In that case we should not run the
multicopter controller on quadplanes, or it may build up control which
will then apply on takeoff. This is particularly severe for aircraft
that are not level on the ground, such as taildragger quadplanes

Fixes https://discuss.ardupilot.org/t/quadplane-flips-on-takeoff/22095

many thanks to Sriram for reporting
2017-10-20 15:13:52 +11:00
Andrew Tridgell
110263ea98 Plane: update docs for Q_YAW_RATE_MAX 2017-10-19 20:59:02 +11:00
Andrew Tridgell
d88dff98a6 Plane: added frame type 11 for FlreFlyY6 2017-10-06 11:37:14 +11:00
Andrew Tridgell
ce5903f758 Plane: fixed MANUAL_RCMASK
ensure it only applies in MANUAL, and fixed input scaling in px4io
2017-09-19 16:59:16 +10:00
Andrew Tridgell
6e78d2af5a Plane: allow takeoff in guided then fw loiter
this allows for quadplane takeoff in GUIDED with Q_GUIDED_MODE=0. The
takeoff will be VTOL, but subsequent guided points will be fixed wing
2017-09-18 10:26:33 +10:00
Andrew Tridgell
f829f5615b Plane: prepare for 3.8.2 release 2017-09-11 09:56:12 +10:00
Andrew Tridgell
1d22b7f5d7 Plane: update release notes for 3.8.2 2017-09-11 09:55:41 +10:00
Andrew Tridgell
31af23cab6 Plane: added MANUAL_CONTROL support
allows for joystick with QGC
2017-09-11 07:56:15 +10:00
Andrew Tridgell
fd07a82c8f Plane: prepare for 3.8.2beta1 2017-09-09 08:28:01 +10:00
Andrew Tridgell
3576e38858 Plane: allow changing of target altitude in GUIDED 2017-09-09 08:15:59 +10:00
Andrew Tridgell
428233c8b4 Plane: limit pitch in transition to QLOITER and QLAND
when switching to QLOITER or QLAND when in forward flight, limit the
maximum pitch to prevent a sudden decelleration
2017-09-08 17:56:48 +10:00
Andrew Tridgell
2e5c36361e Plane: smooth the transition to LAND_FINAL in quadplanes
this makes for a much smoother change to LAND_FINAL, without a jerk as
it changes vertical speed
2017-09-08 16:43:32 +10:00
Andrew Tridgell
5ab3265ee6 Plane: fixed a problem with descent rate in landings for quadplanes
use xy controller instead of xyz controller, which prevents calling z
controller twice, which led to poor height control
2017-09-08 15:59:15 +10:00
Andrew Tridgell
3e4d50f026 Plane: added GUIDED takeoff for quadplanes
this allows takeoff in GUIDED mode in the same way as copters
2017-09-07 10:59:55 +10:00
Andrew Tridgell
5634f19114 Plane: adjust target altitude slowly in QRTL mode
this fixes a sudden throttle drop when starting the descent in QRTL mode
thanks to Marco for finding this issue
2017-09-07 07:22:54 +10:00
Andrew Tridgell
d8b8b1ee33 Plane: prepare for 3.8.1 release 2017-09-03 15:33:25 +10:00
Andrew Tridgell
427c046145 Plane: prepare for 3.8.1beta1 2017-08-29 07:22:38 +10:00