Commit Graph

4809 Commits

Author SHA1 Message Date
Mark Whitehorn
e54bd57539 Plane: fix units metadata for PTCH_LIM_MIN_DEG 2024-05-01 08:07:41 +10:00
Andrew Tridgell
99406b0164 Plane: drop min Q_TRANSITION_MS to 500ms
Rolf makes a good argument for why some quadplanes need less than 2s
2024-05-01 08:07:41 +10:00
Peter Barker
d1069e45ab 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-05-01 08:07:41 +10:00
Andrew Tridgell
13dafee472 Plane: prepare for 4.5.1 2024-04-08 11:19:06 +09:00
Andrew Tridgell
7a2e109da0 Plane: release notes for 4.5.1 2024-04-08 11:19:06 +09:00
Andrew Tridgell
233f344a37 Plane: prepare for 4.5.0 2024-04-02 12:19:22 +11:00
Andrew Tridgell
ea84e82ea5 Plane: release notes for 4.5.0 2024-04-02 12:18:49 +11:00
Andrew Tridgell
5cb1c296a1 ArduPlane: prepare for 4.5.0-beta4 2024-03-22 17:25:33 +11:00
Andrew Tridgell
58ede8a767 ArduPlane: release notes for 4.5.0-beta4 2024-03-22 17:25:33 +11:00
Andrew Tridgell
c25c17586f 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 17:25:33 +11:00
Andrew Tridgell
00e5773ea0 Plane: prepare for 4.5.0-beta3 2024-03-14 11:29:35 +11:00
Andrew Tridgell
729c893bc6 Plane: release notes for 4.5.0-beta3 2024-03-14 11:29:35 +11:00
Andrew Tridgell
db1e0a0919 Plane: make precsion QLOITER possible from lua 2024-03-14 11:29:35 +11:00
Andrew Tridgell
e666b16bdb Plane: support precland in QLAND for pos, velocity and descent rate
allow full override in QLAND
2024-03-14 11:29:35 +11:00
Andrew Tridgell
c78f4a13f0 Plane: allow QLAND to use precision landing override 2024-03-14 11:29:35 +11:00
Andrew Tridgell
b2b53056ee Plane: compile in AC_PrecLand for scripting 2024-03-14 11:29:35 +11:00
Andrew Tridgell
f079418a32 Plane: pass pitch trim parameter to TECS 2024-03-14 11:29:35 +11:00
Iampete1
9a65892e6d ArduPlane: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false 2024-03-14 11:29:35 +11:00
Ryan Friedman
d9ccb61bf2 ArduPlane: Add DDS release details
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-03-14 11:29:35 +11:00
Paul Riseborough
7caf777d6a Plane: Update description for Q_BCK_PIT_LIM 2024-03-14 11:29:35 +11:00
Paul Riseborough
e25f670473 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 11:29:35 +11:00
Paul Riseborough
d14a88b378 Plane: Fix tilt rotor surging during high speed QLOITER flight 2024-03-14 11:29:35 +11:00
Andrew Tridgell
8c01048426 Plane: version to 4.5.0-beta2 2024-02-14 11:20:30 +11:00
Andrew Tridgell
70ba0f2c6d Plane: release notes for 4.5.0-beta2 2024-02-14 11:20:30 +11:00
Andrew Tridgell
f585ab7c4f 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 11:20:30 +11:00
Randy Mackay
0eb0e64447 Plane: version to 4.5.0-beta1 2024-01-31 10:04:33 +11:00
Randy Mackay
6eb4f6c59f Plane: 4.5.0-beta1 release notes 2024-01-31 10:04:33 +11: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
Iampete1
7e79a13053 Plane: ask mode if battery voltage compensation should be done 2024-01-18 12:28:38 +11:00