Commit Graph

4458 Commits

Author SHA1 Message Date
Iampete1
1614400cae Plane: Quadaplane: use land_at_climb_rate_cm only when landing 2023-01-10 10:14:11 +09:00
Leonard Hall
629e1e8f93 Plane: Vtol: use land_at_climb_rate_cm for vertical rate control 2023-01-10 10:14:11 +09:00
Iampete1
6049ee17d5 Plane: QRTL if RTL is expecting to VTOL land and close home with VTOL motors active 2023-01-10 10:14:11 +09:00
Leonard Hall
cc3f2917ea Plane: Support changing update period in Motors 2023-01-10 10:14:11 +09:00
Leonard Hall
291657f71c Plane: Support changing update period 2023-01-10 10:14:10 +09:00
Peter Hall
e1f15d53ad Plane: Quadplane: tiltrotor: add Q_OPTION to keep motors tilted up when disarmed in FW modes 2023-01-10 10:14:10 +09:00
Andrew Tridgell
f6d557cd89 Plane: prepare for 4.3.2 release 2023-01-10 10:14:10 +09:00
Andrew Tridgell
659f172c98 Plane: release notes for 4.3.2 2023-01-10 10:14:10 +09:00
Andrew Tridgell
83a62d6985 Plane: prepare for 4.3.2beta2 2023-01-10 10:14:10 +09:00
Andrew Tridgell
b8148e9b10 Plane: updated release notes for 4.3.2beta2 2023-01-10 10:14:09 +09:00
Andrew Tridgell
399c547a6c Plane: added FAST_TASK() for key scheduler tasks
this will be needed with #22298 as that now relies on integrating
position based on loop times
2022-12-10 10:38:07 +09:00
Andrew Tridgell
4c1f2fbde2 Plane: ensure smoothed airspeed is > 0
prevent possible divide by zero
2022-12-10 10:38:06 +09:00
Andrew Tridgell
01bbfd1f95 Plane: added turn corrdination to autotune yaw rate tuning
this makes it much easier to do a yaw rate autotune, and also means
you don't need to use the rudder stick at all, as the yaw controller
is already exercised nicely with roll movements, so overall the tune
is faster and more accurate as less cross-axis coupling
2022-12-10 10:38:06 +09:00
Andrew Tridgell
341b0632af Plane: ensure we init z controller when inactive
this prevents us getting the AC_PosControl internal error, which is
turning up as a common false positive.
2022-12-10 10:38:06 +09:00
Andrew Tridgell
86173a6573 Plane: prepare for 4.3.2beta1 2022-12-10 10:38:06 +09:00
Andrew Tridgell
01bf691c08 Plane: update release notes for 4.3.2-beta1 2022-12-10 10:38:06 +09:00
Andrew Tridgell
ca3ffd8169 Plane: fixed yaw rate tuning in AUTOTUNE mode
don't reset yaw rate controller continuously while we are trying to
use it
2022-11-21 18:48:49 +09:00
Andrew Tridgell
8ff0ac3707 Plane: check for EFI enable in messages 2022-11-21 18:48:49 +09:00
Andrew Tridgell
88b21a101d Plane: send HYGROMETER_SENSOR data if available 2022-11-21 18:48:49 +09:00
Andrew Tridgell
1322b2fa28 Plane: prepare for 4.3.1 2022-10-24 22:23:43 +09:00
Andrew Tridgell
21fd2c5626 Plane: release notes for 4.3.1 2022-10-24 22:23:43 +09:00
Andrew Tridgell
2ffa22941b Plane: cover more cases in fence breach mode change
we want to allow all landing sequence mode changes
2022-10-24 22:23:43 +09:00
Andrew Tridgell
6c2a3d4828 Plane: allow mode switch on fence breach for RTL_AUTOLAND
when we are in a fence breach we by default disallow mode changes, but
we need to allow for the switch to AUTO if the reason is we are
entering a landing sequence, which is part of the RTL process which is
the fence action
2022-10-24 22:23:43 +09:00
Andrew Tridgell
e88056ab7f Plane: prepare for 4.3.1beta1 2022-10-24 22:23:43 +09:00
Andrew Tridgell
e73c7616a2 Plane: release notes for 4.3.1beta1 2022-10-24 22:23:43 +09:00
Andrew Tridgell
2d4f29a6ba Plane: scale VTOL angle P gains with airspeed
During POSITION1 back-transiton we scale the MC angle P gains with
airspeed to reduce the chance of oscillations. At higher airspeeds the
fixed wing controller dominates so we should use the fixed wing angle
P gain.
2022-10-24 22:23:43 +09:00
Andrew Tridgell
4ad17c5d41 Plane: log TECS target alt
log the target alt we pass into TECS to help debug a CRUISE height
issue
2022-10-24 22:23:43 +09:00
Iampete1
2e6007c808 Plane: Quadplane: SLT: enforce TECS pitch limits to beat race 2022-10-24 22:23:43 +09:00
Andrew Tridgell
9a1bfdaa3b Plane: prepare for 4.3.0 release 2022-10-14 17:13:21 +09:00
Andrew Tridgell
2587302e02 Plane: 4.3.0 final release notes 2022-10-14 17:13:21 +09:00
Andrew Tridgell
c13a9961a9 Plane: prepare for 4.3.0beta3 2022-10-14 17:13:21 +09:00
Andrew Tridgell
f6198c0137 Plane: release notes for 4.3.0beta3 2022-10-14 17:13:21 +09:00
mattbooker
b1dbd13116 Plane: Fixed divide by zero error when transitioning to guided 2022-10-14 17:13:21 +09:00
Andrew Tridgell
6ff6ad7a7f Plane: prepare for 4.3.0beta2 2022-10-14 17:13:21 +09:00
Andrew Tridgell
1051f51fd1 Plane: added release notes for 4.3.0beta2 2022-10-04 16:50:15 +09:00
Michael du Breuil
ff249334b6 Plane: Allow reseting target airspeed to the parameter value 2022-10-04 16:50:15 +09:00
yaapu
191a44b471 ArduPlane: fixed roll and pitch for OSD VTOL view 2022-10-04 16:50:15 +09:00
Peter Barker
e2a2526506 ArduPlane: do not send MSG_RPM if RPM not enabled 2022-10-04 16:50:15 +09:00
Andrew Tridgell
0c0f23b610 Plane: prepare for 4.3.0beta1 2022-09-13 14:20:02 +09:00
Andrew Tridgell
807d7a5488 Plane: release notes for Plane 4.3.0beta1 2022-09-13 14:20:02 +09:00
Iampete1
84922cba9a Plane: Quadplane: use new motors pre arm 2022-09-07 17:54:16 +10:00
Iampete1
6358a3c962 Plane: add min airspeed arming check and constrain for speed scailing 2022-09-06 09:01:26 +10:00
Iampete1
5a53e22886 Plane: correct extened range airspeed scailing limits 2022-09-04 10:54:41 +10:00
Andrew Tridgell
22cd568a4c Plane: removed use of "blended" earth frame accel 2022-08-21 18:51:59 +10:00
Andrew Tridgell
953b754074 Plane: release notes for 4.2.3 2022-08-21 14:13:11 +10:00
Andrew Tridgell
4894cc1742 Plane: prepare for 4.2.3beta3 2022-08-19 18:44:08 +10:00
Peter Barker
0d19d7646f ArduPlane: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Iampete1
2b0492e6aa Plane: disalow mode change during fence recovery if option is set 2022-08-17 17:21:30 +10:00
Iampete1
a8a1e619df Plane: only trigger fence action for new breaches 2022-08-17 17:21:30 +10:00
Iampete1
367984a6b8 Plane: set fence manual recovery on mode change 2022-08-17 17:21:30 +10:00