Commit Graph

4448 Commits

Author SHA1 Message Date
Andrew Tridgell 241dfd5477 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-11 09:58:17 +11:00
Andrew Tridgell b657563b89 Plane: ensure smoothed airspeed is > 0
prevent possible divide by zero
2022-12-11 09:58:17 +11:00
Andrew Tridgell 95f916f660 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-11 09:58:17 +11:00
Andrew Tridgell 90001e54d8 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-11 09:58:17 +11:00
Andrew Tridgell 2403444fe2 Plane: prepare for 4.3.2beta1 2022-11-21 19:33:35 +11:00
Andrew Tridgell b5b9ff6d0e Plane: update release notes for 4.3.2-beta1 2022-11-21 19:33:35 +11:00
Andrew Tridgell ea188c95c7 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 19:33:35 +11:00
Andrew Tridgell 7167f32b11 Plane: check for EFI enable in messages 2022-11-21 19:33:35 +11:00
Andrew Tridgell 280796a30e Plane: send HYGROMETER_SENSOR data if available 2022-11-21 19:33:35 +11:00
Andrew Tridgell 7d0c6e4dcf Plane: prepare for 4.3.1 2022-10-24 09:19:33 +11:00
Andrew Tridgell bd326aaef8 Plane: release notes for 4.3.1 2022-10-24 09:19:20 +11:00
Andrew Tridgell 819f4140b4 Plane: cover more cases in fence breach mode change
we want to allow all landing sequence mode changes
2022-10-24 09:17:09 +11:00
Andrew Tridgell 4b064ecfe5 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-23 18:09:42 +11:00
Andrew Tridgell 4682336743 Plane: prepare for 4.3.1beta1 2022-10-19 10:24:53 +11:00
Andrew Tridgell e2dc4ba85a Plane: release notes for 4.3.1beta1 2022-10-19 10:24:53 +11:00
Andrew Tridgell 00b4b5b7ed 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-19 10:24:53 +11:00
Andrew Tridgell 5aef5473de Plane: log TECS target alt
log the target alt we pass into TECS to help debug a CRUISE height
issue
2022-10-19 10:24:53 +11:00
Iampete1 5f89ed5c73 Plane: Quadplane: SLT: enforce TECS pitch limits to beat race 2022-10-19 10:22:11 +11:00
Andrew Tridgell 4f0932b7ae Plane: prepare for 4.3.0 release 2022-10-09 12:20:39 +11:00
Andrew Tridgell dd2fe721ae Plane: 4.3.0 final release notes 2022-10-09 12:20:39 +11:00
Andrew Tridgell 5ae53bc55f Plane: prepare for 4.3.0beta3 2022-10-07 10:46:29 +11:00
Andrew Tridgell c9f55d9e73 Plane: release notes for 4.3.0beta3 2022-10-07 10:46:00 +11:00
mattbooker adaa620855 Plane: Fixed divide by zero error when transitioning to guided 2022-10-07 08:25:07 +11:00
Andrew Tridgell 57168505bf Plane: prepare for 4.3.0beta2 2022-10-04 18:34:00 +11:00
Andrew Tridgell 68c1ff0965 Plane: added release notes for 4.3.0beta2 2022-10-04 13:38:30 +11:00
Michael du Breuil cd3811c5e3 Plane: Allow reseting target airspeed to the parameter value 2022-10-04 13:38:30 +11:00
yaapu 2c9e2abcf4 ArduPlane: fixed roll and pitch for OSD VTOL view 2022-10-04 13:38:30 +11:00
Peter Barker 456b8b87c1 ArduPlane: do not send MSG_RPM if RPM not enabled 2022-10-04 13:38:30 +11:00
Andrew Tridgell df8b232c0f Plane: prepare for 4.3.0beta1 2022-09-13 13:02:52 +09:00
Andrew Tridgell f60de7fb0a Plane: release notes for Plane 4.3.0beta1 2022-09-13 13:02:52 +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
Andrew Tridgell 204a8cdc55 Plane: release notes for 4.2.3beta2 2022-08-10 06:09:23 +10:00
Peter Barker 127bf7aa09 ArduPlane: make terrain checks common between Copter and Plane 2022-08-09 14:31:14 +10:00
Andrew Tridgell 2e32c753b9 Plane: added arming check for terrain data 2022-08-09 14:31:14 +10:00
Iampete1 ee778dbd3a Plane: Quadplane: add option_is_set helper for Q_OPTIONS 2022-08-09 13:21:00 +10:00
Henry Wurzburg 905572eff5 ArduPlane: update logging bitmask metadata to new style 2022-08-09 11:38:16 +10:00
Iampete1 821053e580 Plane: Quadplane: allow servo auto trim for motors only tailsitter assist 2022-08-09 10:56:41 +10:00