Commit Graph

4828 Commits

Author SHA1 Message Date
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
Iampete1 6b32227d2f Plane: output nav scripting throttle with rest of nav scripting stuff 2024-02-13 10:50:03 +11:00
Iampete1 3aa742e1b9 Plane: rework `isHeadingLinedUp` function for loiter breakout 2024-02-13 10:48:47 +11:00
Henry Wurzburg d91ff440e7 ArduPlane: fix autofence enable in takeoff mode 2024-02-13 10:45:39 +11:00
Peter Barker 04fab27136 ArduPlane: move RC bits in mavlink to common code
Plane's semantics change to be like Copter. Rover, Sub and Tracker will start reporting the bits
2024-02-10 11:46:44 +11:00
Peter Barker 33895e8816 Plane: move scripting up to AP_Vehicle 2024-02-07 18:24:12 +11:00
Peter Barker 9aab59ca9e ArduPlane: add comment for lost AP_Stats object params 2024-02-07 18:24:12 +11:00
Peter Barker e7a6a2e3ec ArduPlane: move can_mgr.init call up to AP_Vehicle
... also adds the call for Blimp...
2024-02-06 11:03:54 +11:00
Iampete1 2f42f55278 Plane: move pilot throttle output up to control modes 2024-02-06 11:02:28 +11:00
Andrew Tridgell 4f327e44ea 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-03 15:55:36 +11:00
Peter Barker 89417f07a6 ArduPlane: move call to BoardConfig.init to AP_Vehicle 2024-02-01 07:59:11 +11:00
Iampete1 b119a2a6d7 Plane: move guided throttle passthrough to mode_guided 2024-01-31 18:21:27 +11:00
Andrew Tridgell 629cb92642 Plane: mark master as 4.6.0 dev 2024-01-31 10:42:38 +11:00
Randy Mackay d70ff4db75 Plane: 4.5.0-beta1 release notes 2024-01-31 10:05:08 +11:00
Peter Barker 0bc2c15485 Plane: move AP_Stats to AP_vehicle 2024-01-30 11:12:21 +11:00
Iampete1 c84e5b337e Plane: move forward throttle output in VTOL modes to QuadPlane update 2024-01-30 11:06:09 +11:00
Henry Wurzburg 3973c28f15 Plane:add TKOFF_TIMEOUT to MODE TAKEOFF 2024-01-30 11:02:53 +11:00
Peter Barker 127961e692 Plane: break out a method for set-attitude-target 2024-01-24 19:10:35 +11:00
Peter Barker f96add13e9 Plane: break out a method for set-position-target-local-ned 2024-01-24 19:10:35 +11:00
Peter Barker 5bc2b1a09b Plane: break out a method for set-position-target-global-int 2024-01-24 19:10:35 +11:00
Peter Barker 57535b538e ArduPlane: handle RADIO_STATUS is GCS base class 2024-01-24 18:43:15 +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