Commit Graph

4810 Commits

Author SHA1 Message Date
pieniacy
71e2bea590 Plane: Fix FBWB/CRUISE missing zero crossing of elevator input 2024-04-30 20:29:20 +09:00
Mark Whitehorn
3bc59d15eb Plane: fix units metadata for PTCH_LIM_MIN_DEG 2024-04-30 20:29:20 +09:00
Andrew Tridgell
cb38210994 Plane: drop min Q_TRANSITION_MS to 500ms
Rolf makes a good argument for why some quadplanes need less than 2s
2024-04-30 20:29:20 +09:00
Peter Barker
c28248b963 Plane: call update_loiter before determining whether to fly home or not
we are calling "reached_loiter_target" as part of our checks as to whether to fly home or not.

We need to call update_loiter so the L1 controller can update its internal state for the new waypoint which do_RTL has set.  Depending on location (but typically), that will mean that L1's reached_loiter_target() will then return false, so we fly home.

This bug was affected by f8d7be5e43 .  Any sort of altitude error greater than 10m would delay us entering the landing sequence, allowing the L1 controller to update its state.
2024-04-30 20:29:20 +09:00
Andrew Tridgell
f5e420f0bc Plane: prepare for 4.5.1 2024-04-08 12:08:53 +09:00
Andrew Tridgell
80f2278f7f Plane: release notes for 4.5.1 2024-04-08 12:08:53 +09:00
Andrew Tridgell
2481b8bc26 Plane: prepare for 4.5.0 2024-04-02 12:54:03 +09:00
Andrew Tridgell
5d10a78c9e Plane: release notes for 4.5.0 2024-04-02 12:54:03 +09:00
Andrew Tridgell
8a917b663d ArduPlane: prepare for 4.5.0-beta4 2024-03-22 15:36:19 +09:00
Andrew Tridgell
3a6c3eaacd ArduPlane: release notes for 4.5.0-beta4 2024-03-22 15:36:19 +09:00
Andrew Tridgell
b3c6508998 Plane: fixed throttle_at_zero()
this fixes a bug with TVBS land flare handling. The if() statement was
just far too complex and was giving the wrong answer
2024-03-22 15:36:19 +09:00
Andrew Tridgell
51fe057fd6 Plane: prepare for 4.5.0-beta3 2024-03-14 09:33:55 +09:00
Andrew Tridgell
dcae6b0d87 Plane: release notes for 4.5.0-beta3 2024-03-14 09:33:55 +09:00
Andrew Tridgell
7e7f689603 Plane: make precsion QLOITER possible from lua 2024-03-14 09:33:55 +09:00
Andrew Tridgell
45a212e311 Plane: support precland in QLAND for pos, velocity and descent rate
allow full override in QLAND
2024-03-14 09:33:55 +09:00
Andrew Tridgell
5ddf10ec0b Plane: allow QLAND to use precision landing override 2024-03-14 09:33:55 +09:00
Andrew Tridgell
e6f021ae9e Plane: compile in AC_PrecLand for scripting 2024-03-14 09:33:55 +09:00
Andrew Tridgell
efd479c64d Plane: pass pitch trim parameter to TECS 2024-03-14 09:33:55 +09:00
Iampete1
5422014482 ArduPlane: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false 2024-03-14 09:33:55 +09:00
Ryan Friedman
7eb5d818dd ArduPlane: Add DDS release details
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-03-14 09:33:54 +09:00
Paul Riseborough
cb5f77f4a1 Plane: Update description for Q_BCK_PIT_LIM 2024-03-14 09:33:54 +09:00
Paul Riseborough
ca4f2613cf Plane: Prevent overloading quadplane wing during VTOL braking
Plane: Fix description for TECS_BCK_PIT_LIM

Plane: Add diagnostics logging for VTOL upper pitch limit calc

Plane: Rework "Prevent overloading quadplane wing during VTOL braking"

Implement an independent speed scaler calculation. During VTOL modes the plane surface speed scaler does not follow a 1/IAS function at low airspeed.
2024-03-14 09:33:54 +09:00
Paul Riseborough
6526f55269 Plane: Fix tilt rotor surging during high speed QLOITER flight 2024-03-14 09:33:54 +09:00
Andrew Tridgell
86efd87dbe Plane: version to 4.5.0-beta2 2024-02-14 09:21:15 +09:00
Andrew Tridgell
061f630220 Plane: release notes for 4.5.0-beta2 2024-02-14 09:21:15 +09:00
Andrew Tridgell
813c9e8f7f Plane: fixed handling of arming with safety on
if safety is on and you force arm them turn safety off then Q modes
cannot run the motors as the AP_Motors armed state will still be off.

This ensures that the motors are armed immediately we arm. This
matches what copter does when arming with safety on
2024-02-14 09:21:15 +09:00
Randy Mackay
a68b46ba0c Plane: version to 4.5.0-beta1 2024-01-30 09:18:07 +09:00
Randy Mackay
0561b4871a Plane: 4.5.0-beta1 release notes 2024-01-30 09:18:07 +09:00
Peter Barker
2f0cb8b650 ArduPlane: use virtual method for GCS_MAVLink::handle_message
use more appropriate naming for the method.
2024-01-24 09:07:41 +11:00
J.R. Bronkar
2be84183b7 ArduPlane: fractional Loiter Turn Support
Adds special storage handling for loiter turns. Fractional Loiter
Turns 0<N<1 are stored by multiplying the turn number by 256, then
dividing that number by 256 on retrieval.
2024-01-22 20:27:20 -08:00
Andrew Tridgell
e602aa68a4 Plane: removed incorrect comment 2024-01-23 15:00:30 +11:00
Andrew Tridgell
649fbe9f24 Plane: make the 90x factor more obvios 2024-01-23 15:00:30 +11:00
Andrew Tridgell
0d434c8b54 ArduPlane: fixed parameter names 2024-01-23 15:00:30 +11:00
Andrew Tridgell
a4302e5fb8 Plane: tidy 2 comments 2024-01-23 15:00:30 +11:00
Andrew Tridgell
2b6ffe17e3 ArduPlane: tidy TRIM_PITCH to PTCH_TRIM_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
108a0b77bd Plane: Q_ACCEL_Z -> Q_PILOT_ACCEL_Z 2024-01-23 15:00:30 +11:00
Andrew Tridgell
57e88e2242 Plane: Q_VELZ_MAX -> Q_PILOT_SPD_UP and Q_VELZ_MAX_DN -> Q_PILOT_SPD_DN 2024-01-23 15:00:30 +11:00
Andrew Tridgell
2d0a236b49 Plane: Q_LAND_SPEED -> Q_LAND_FINAL_SPD 2024-01-23 15:00:30 +11:00
Andrew Tridgell
5619dca389 Plane: TRIM_PITCH_DEG to PTCH_TRIM_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
ee884ab137 ArduPlane: convert LAND_PITCH_CD to LAND_PITCH_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
89a947cdca ArduPlane: change LIM_ROLL_CD to ROLL_LIMIT_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
17d6192e22 ArduPlane: convert LIM_PITCH_MIN/MAX -> PTCH_LIM_MIN/MAX_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
a3d622b37d Plans: rename ALT_CRUISE_MIN to CRUISE_ALT_FLOOR 2024-01-23 15:00:30 +11:00
Andrew Tridgell
8151647e04 ArduPlane: convert ALT_HOLD_RTL and ALT_HOLD_FBWCM 2024-01-23 15:00:30 +11:00
Andrew Tridgell
5723b1c780 ArduPlane: convert MIN_GNDSPEED_CM to MIN_GROUNDSPEED 2024-01-23 15:00:30 +11:00
Andrew Tridgell
912e2f224b ArduPlane: convert ARSPD_FBW_MIN/MAX to AIRSPEED_MIN and AIRSPEED_MAX 2024-01-23 15:00:30 +11:00
Andrew Tridgell
94edcc4654 ArduPlane: change TRIM_ARSPD_CM to AIRSPEED_CRUISE 2024-01-23 15:00:30 +11:00
Tim Tuxworth
3cf0de2224 Plane: convert parameter TRIM_PITCH_CD to TRIM_PITCH_DEG 2024-01-23 15:00:30 +11:00
Simon Hancock
6f832bbd3b ArduPlane: Updates to log message units and help text
Separate descriptions for PID and PIQ messages
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2024-01-21 14:26:54 +11:00
Henry Wurzburg
f7f9fda6a7 Plane:expand description of AUTOTUNE_OPTIONS 2024-01-21 12:31:38 +11:00