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
Andrew Tridgell
cbe5cf8c81
Plane: support precland in QLAND for pos, velocity and descent rate
...
allow full override in QLAND
2024-03-06 09:39:51 +11:00
Andrew Tridgell
8c33e2d289
Plane: allow QLAND to use precision landing override
2024-03-06 09:39:51 +11:00
Andrew Tridgell
a4109c6cf2
Plane: compile in AC_PrecLand for scripting
2024-03-06 09:39:51 +11:00
Tom Pittenger
155f31a3a2
Plane: allow quadplanes to scale ESC CAN like normal
2024-03-06 09:30:58 +11:00
Andrew Tridgell
4d2c7f3d64
Plane: don't special case tilt rotors for motors shutdown
...
this allows for Q_M_SPOOL_TIME to work correctly for back transition
2024-03-06 08:01:52 +11:00
Iampete1
6461ebdfaf
ArduPlane: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false
2024-03-05 12:32:20 +11:00
Iampete1
674f75fce1
Plane: move manual mode throttle limits to main throttle limit function.
2024-03-05 11:38:28 +11:00
Andrew Tridgell
bd928fb044
Plane: pass pitch trim parameter to TECS
2024-03-03 20:28:38 +11:00
Peter Barker
3085816a16
ArduPlane: move serial_manager parameters up to base class
2024-02-29 12:12:19 +11:00
Peter Barker
7a1f357904
ArduPlane: remove unused old_top_element param from convert_class
2024-02-27 10:37:45 +11:00
Peter Barker
30b8905b09
ArduPlane: convert EFI cvonversion to g2_conversion entry
2024-02-27 10:37:45 +11:00
Peter Barker
e9668736b8
ArduPlane: simplify g2 object conversion
2024-02-27 10:37:45 +11:00
Paul Riseborough
c8b5de34b5
Plane: Update description for Q_BCK_PIT_LIM
2024-02-23 15:26:47 +11:00
Paul Riseborough
95fb20dcd5
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-02-23 15:26:47 +11:00
Paul Riseborough
378c2fd6c9
Plane: Fix tilt rotor surging during high speed QLOITER flight
2024-02-23 15:26:47 +11:00
Iampete1
642a5e13d0
Plane: manual fix `use_throttle_limits` and `use_battery_compensation`
2024-02-22 13:13:05 +11:00
Peter Barker
d2d89b02cc
ArduPlane: move gripper up to AP_Vehicle
...
also make the singleton return a reference rather than a pointer
2024-02-21 21:05:12 +11:00
bugobliterator
3300687aef
ArduPlane: fix version setting in CheckFirmware app descriptor
2024-02-21 18:54:17 +11:00
Iampete1
8a1872bd2a
Plane: allow set_throttle in manual and move disarmed override up
2024-02-20 11:35:17 +11:00
Ryan Friedman
227cfe781d
ArduPlane: Add DDS release details
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-02-20 08:34:06 +09:00
CallanDaniel
a404693c7f
Plane: QLAND if long failsafe on VTOL takeoff
2024-02-20 09:39:15 +11:00
Peter Barker
6f9400a353
ArduPlane: use AUX_FUNC instead of typedef aux_func_t
2024-02-15 08:41:30 +11:00
Iampete1
5216dc92f9
Plane: reorder set_throttle function
2024-02-14 20:01:31 +11:00
Andrew Tridgell
b6d8b37018
Plane: release notes for 4.5.0-beta2
2024-02-14 11:22:22 +11:00
Peter Barker
739a4a97da
ArduPlane: move parameter storage formatting up to AP_Vehicle
2024-02-13 14:23:35 +11:00
Richard Marko
04b46678a4
treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
...
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Peter Barker
fcd7c5beb9
ArduPlane: move logger object up to AP_Vehicle
2024-02-13 10:54:29 +11:00