Commit Graph

4879 Commits

Author SHA1 Message Date
Peter Barker
61a34d0edb ArduPlane: remove defaulting of OSD_ENABLED
we do this in AP_OSD_config.h too so include ordering can break things badly
2024-06-04 16:32:26 +10:00
Andrew Tridgell
2123458112 ArduPlane: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Randy Mackay
65e620aca0 Plane: 4.5.3 release notes 2024-05-28 14:06:56 +10:00
Andy Piper
17083b54f8 Plane: ensure the dshot type gets set 2024-05-22 18:25:07 +10:00
Peter Barker
6a9b8206d4 ArduPlane: remove redundant @Values from parameter documentation 2024-05-21 14:27:05 +10:00
Lokesh-Ramina
55b0c64b5a Plane: CRASH_DETECT Param doc update to add 1 in value set
As this was causing a CI check we made locally to compare param values to param_metadata generated xml file.
2024-05-21 14:27:05 +10:00
Peter Barker
297ff6dfde Plane: correct description of MIN_GROUNDSPEED parameter 2024-05-21 14:24:47 +10:00
Jonathan Challinger
9e08a98515 Plane: fix rangefinder correction when terrain follow is off 2024-05-21 11:57:36 +10:00
Henry Wurzburg
b91544bf05 Plane:correct Q_ASSIST metadata 2024-05-21 10:07:03 +10:00
Andrew Tridgell
e6ae6b0da0 ArduPlane: update release notes for 4.5.3-beta1 2024-05-16 11:04:35 +10:00
Randy Mackay
64e7964011 Plane: 4.5.2 release notes 2024-05-14 12:26:09 +10:00
Bob Long
34704d3cb0 Quadplane: fix TRIM_PITCH description 2024-05-14 09:12:31 +10:00
Andrew Tridgell
6e4de623df Plane: use AHRS for air density ratio 2024-05-07 21:19:06 +10:00
Bob Long
5824a12b2e Plane: remove altitude_error_cm variable
This variable updated unpredictably, and it was easy to introduce bugs.
It was not used in many places and is clearer to calculate the error
directly when needed.
2024-05-07 10:52:43 +10:00
Peter Hall
9b671404a3 Plane: tiltrotor: fix canceling out of FWD_GAIN 2024-05-07 10:42:53 +10:00
Iampete1
a1a5184f0e Plane: Add tiltrotor specific log message 2024-05-07 10:37:37 +10:00
Andras Schaffer
2a218221f0 Plane: Fix metadata (increments) for changed params
Moving from centidegree to degree need adjusting the increments in the metadata (MP uses metadata to setup GUI)
2024-05-03 16:06:07 -07:00
Tom Pittenger
1fe7f6b099 Plane: refactor NAV_ALTITUDE_WAIT to AutoMode:: to match nav_delay() 2024-05-02 10:16:00 -07:00
Andrew Tridgell
1e69d5f92a Plane: update release notes 2024-05-01 18:23:48 +10:00
Randy Mackay
63f4d2ad37 Plane: 4.5.2-beta1 release notes 2024-05-01 18:23:44 +10:00
pieniacy
4e29e1e6b0 Plane: Limit possible climb/sink rate in FBWB/CRUISE to TECS limits 2024-04-23 09:58:19 +10:00
Iampete1
2ee5cdd792 Plane: Quadplane: move Q Assist check into new VTOL assist files. 2024-04-23 09:11:34 +10:00
Iampete1
fbcf37f6ca Plane: QuadPlane: log assistance bitmask in QTUN 2024-04-23 09:11:34 +10:00
Iampete1
3e2a3bfe43 Plane: Quadplane: rework assist to check all types at once, alt and angle get clear delay 2024-04-23 09:11:34 +10:00
Iampete1
20015c60a7 Plane: Quadplane: move disable of assistance in flare to should_assist function 2024-04-23 09:11:34 +10:00
Iampete1
8196c899e8 Plane: Quadplane: add assistance reset method 2024-04-23 09:11:34 +10:00
Iampete1
39c86a46e0 Plane: QuadPlane: move assistane into its own class 2024-04-23 09:11:34 +10:00
Peter Barker
e47c65f010 ArduPlane: remove Baro accumulate API
no backend actually needs to be prodded, everything is done on timers
2024-04-18 09:19:20 +10:00
Peter Barker
c6d5bf5706 ArduPlane: fold startup_ground back into caller
remove stale comments around same.

rename method to avoid confusion
2024-04-17 22:18:22 +10:00
Peter Barker
46af21144a ArduPlane: move Arming, Beacon and RC_Mapper into ardupilotwaf.py
these were built for all vehicles, so put them in the common list
2024-04-17 18:11:46 +10:00
pieniacy
41474f862f Plane: Fix FBWB/CRUISE missing zero crossing of elevator input 2024-04-16 09:53:00 +10:00
Andrew Tridgell
5e3f26744a Plane: drop min Q_TRANSITION_MS to 500ms
Rolf makes a good argument for why some quadplanes need less than 2s
2024-04-11 07:16:15 +10:00
Andrii Fil
a83c29cd67 ArduPlane: optional (CHUTE_OPTIONS:1) disarm defore parachute release 2024-04-10 21:55:51 +10:00
Peter Barker
39c87c0b1b 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-10 17:44:25 +10:00
Peter Barker
42ce0867ae ArduPlane: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Mark Whitehorn
17a17a5955 Plane: fix units metadata for PTCH_LIM_MIN_DEG 2024-04-09 09:30:41 +10:00
Andrew Tridgell
bf172378b5 Plane: release notes for 4.5.1 2024-04-08 13:09:16 +10:00
Andrew Tridgell
f9cb380c31 Plane: release notes for 4.5.0 2024-04-02 12:21:37 +11:00
Iampete1
afec757c33 Plane: pass current location to mission landing methods 2024-04-02 11:11:59 +11:00
Iampete1
77ef4eb4e6 Plane: AP_Arming: use mission.contains_item() eather than .mission.get_landing_sequence_start() > 0 2024-04-02 11:11:59 +11:00
Andrew Tridgell
02a59ddc7d ArduPlane: release notes for 4.5.0-beta4 2024-03-22 17:28:28 +11:00
Iampete1
7912fcd511 Plane: do_RTL: don't log mode 2024-03-19 12:24:54 +11:00
Peter Barker
6cd55a9eda ArduPlane: stop passing serial manager to GPS init
it can get this via the singleton
2024-03-19 07:28:55 +11:00
Peter Barker
7a65848750 ArduPlane: move AP_OSD into common libraries list 2024-03-19 07:15:10 +11:00
Peter Barker
626d64f503 ArduPlane: allow HarmonicNotches to be compiled out of the code 2024-03-19 07:04:13 +11:00
Andrew Tridgell
b4a97eca38 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-15 09:26:40 +11:00
Andrew Tridgell
8ee05f7411 Plane: release notes for 4.5.0-beta3 2024-03-14 11:32:34 +11:00
Andrew Tridgell
980d328b53 Plane: make precsion QLOITER possible from lua 2024-03-12 10:45:56 +11:00
Peter Barker
a682d304cf Plane: accept set_position_target_global_int with non_INT frames
the old frames are deprecated
2024-03-12 09:08:40 +11:00
Andrew Tridgell
eb3215cf12 Revert "Plane: allow quadplanes to scale ESC CAN like normal"
this change can cause a flyaway if you have low SERVO3_MAX for
k_throttle. This can be reproduced with -f quadplane-can
2024-03-09 07:09:01 +11:00