Commit Graph

4454 Commits

Author SHA1 Message Date
Leonard Hall
a446001e44 Plane: Support changing update period 2023-01-10 08:12:47 +09:00
Peter Hall
6bad9ac4d7 Plane: Quadplane: tiltrotor: add Q_OPTION to keep motors tilted up when disarmed in FW modes 2023-01-10 08:12:47 +09:00
Andrew Tridgell
28693a4541 Plane: prepare for 4.3.2 release 2022-12-23 09:43:59 +09:00
Andrew Tridgell
1c3f6ff636 Plane: release notes for 4.3.2 2022-12-23 09:43:56 +09:00
Andrew Tridgell
c042374274 Plane: prepare for 4.3.2beta2 2022-12-23 09:43:49 +09:00
Andrew Tridgell
75967081f0 Plane: updated release notes for 4.3.2beta2 2022-12-23 09:43:46 +09:00
Andrew Tridgell
105daa9734 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:34:44 +09:00
Andrew Tridgell
0022c0b6b8 Plane: ensure smoothed airspeed is > 0
prevent possible divide by zero
2022-12-10 10:34:44 +09:00
Andrew Tridgell
3579cb451d 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:34:44 +09:00
Andrew Tridgell
b7d62d5609 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:34:44 +09:00
Andrew Tridgell
5eede68dce Plane: prepare for 4.3.2beta1 2022-12-10 10:34:44 +09:00
Andrew Tridgell
5d653d5c67 Plane: update release notes for 4.3.2-beta1 2022-12-10 10:34:44 +09:00
Andrew Tridgell
ced55236a2 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:35 +09:00
Andrew Tridgell
33f49daada Plane: check for EFI enable in messages 2022-11-21 18:48:35 +09:00
Andrew Tridgell
953f542ec5 Plane: send HYGROMETER_SENSOR data if available 2022-11-21 18:48:35 +09:00
Andrew Tridgell
e7d0a285cf Plane: prepare for 4.3.1 2022-10-24 22:23:32 +09:00
Andrew Tridgell
2bc28e7d23 Plane: release notes for 4.3.1 2022-10-24 22:23:32 +09:00
Andrew Tridgell
3a9f1475a7 Plane: cover more cases in fence breach mode change
we want to allow all landing sequence mode changes
2022-10-24 22:23:32 +09:00
Andrew Tridgell
5a75b78cec 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:32 +09:00
Andrew Tridgell
aa12184bd4 Plane: prepare for 4.3.1beta1 2022-10-24 22:23:32 +09:00
Andrew Tridgell
e09a634c63 Plane: release notes for 4.3.1beta1 2022-10-24 22:23:32 +09:00
Andrew Tridgell
1f7b4dcef6 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:32 +09:00
Andrew Tridgell
e986983b8a 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:32 +09:00
Iampete1
46fae47a06 Plane: Quadplane: SLT: enforce TECS pitch limits to beat race 2022-10-24 22:23:32 +09:00
Andrew Tridgell
c4632777e7 Plane: prepare for 4.3.0 release 2022-10-14 17:13:10 +09:00
Andrew Tridgell
669f45f8aa Plane: 4.3.0 final release notes 2022-10-14 17:13:10 +09:00
Andrew Tridgell
8a862adc29 Plane: prepare for 4.3.0beta3 2022-10-14 17:13:10 +09:00
Andrew Tridgell
e40fd07183 Plane: release notes for 4.3.0beta3 2022-10-14 17:13:10 +09:00
mattbooker
e4b4d00645 Plane: Fixed divide by zero error when transitioning to guided 2022-10-14 17:13:10 +09:00
Andrew Tridgell
6e009a82ed Plane: prepare for 4.3.0beta2 2022-10-14 17:13:10 +09:00
Andrew Tridgell
b07a2a93ee Plane: added release notes for 4.3.0beta2 2022-10-04 16:50:08 +09:00
Michael du Breuil
d30891e3d1 Plane: Allow reseting target airspeed to the parameter value 2022-10-04 16:50:08 +09:00
yaapu
bc26aabafb ArduPlane: fixed roll and pitch for OSD VTOL view 2022-10-04 16:50:08 +09:00
Peter Barker
659ea9e08b ArduPlane: do not send MSG_RPM if RPM not enabled 2022-10-04 16:50:08 +09:00
Andrew Tridgell
108842c727 Plane: prepare for 4.3.0beta1 2022-09-13 14:19:47 +09:00
Andrew Tridgell
59f7d5666f Plane: release notes for Plane 4.3.0beta1 2022-09-13 14:19:47 +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
Mirko Denecke
ba13f4d116 ArduPlane: remove unused limit_length calculation in overshoot 2022-08-16 12:05:00 +10:00
Randy Mackay
c255b3b5b6 Plane: replace send-mount-status with send-gimbal-device-attitude-status 2022-08-15 20:29:25 -04:00
Peter Barker
3f4a472899 ArduPlane: move call to compass cal update up to AP_Vehicle 2022-08-16 10:06:44 +10:00
Michael du Breuil
f183b21fc5 Plane: Support vtol landing options on NAV_VTOL_LAND
This allows the same mission to contain both circular and straight
landing items, and doesn't require on the fly tweaking
2022-08-15 17:05:00 -07:00