Andy Piper
2e194383d2
Plane: log ANG attitude message
2024-09-17 10:12:35 +10:00
Bob Long
a5c8b03925
Plane: try left/right throttle to init ESC scaling
...
Without this, twin motor planes with DroneCAN ESCs need to set a
dummy throttle channel for scale_esc_to_unity to work.
2024-09-17 09:18:36 +10:00
Iampete1
f000ab6d1b
ArduPlane: add Airspeed to raw sensor stream rates
2024-09-17 09:10:17 +10:00
Andrew Tridgell
83cac93e85
Plane: allow for any orientation of rangefinder for landing
...
this is principally for tailsitters where rangefinders would be
orientation with RNGFND1_ORIENT=12 (PITCH_180), but also allows for
custom orientations which will be useful if the rangefinder is tilted
forward
2024-09-14 08:39:51 +10:00
Andrew Tridgell
f3b4f8fdc4
Plane: added Q_APPROACH_DIST
...
this sets a minimum distance to use the fixed wing approach logic. It
is an alternative to just disabling the approach with Q_OPTIONS which
some users do to avoid some short distance problems. This allows the
approach to still be used for longer distances in QRTL but have it
disabled for shorter distances
2024-09-12 20:48:48 +10:00
Andy Piper
8596466d5a
Plane: Write_Rate() moved to AC_AttitudeControl
2024-09-10 16:33:04 +01:00
Peter Barker
c99fc688e1
ArduPlane: avoid nullptr dereference on bad rcmap value entry
2024-09-10 22:00:50 +10:00
Andy Piper
d309275866
Plane: log attitude target in degrees
2024-09-10 10:54:55 +10:00
Andrew Tridgell
65e15f2bd9
Plane: don't run TECS update_speed_height() when in idle mode
2024-09-10 10:15:34 +10:00
Andrew Tridgell
2f19dfef8a
Plane: added glider pullup support
2024-09-10 10:15:34 +10:00
Peter Barker
1476c69d84
ArduPlane: remove AUX_FUNC entries based on feature defines
2024-09-08 00:55:43 +10:00
Randy Mackay
7f3b552ac7
Plane: 4.5.6 release notes
2024-09-04 07:36:58 +10:00
George Zogopoulos
bc1e490257
Plane: In transition use TRIM_THROTTLE when TKOFF_THR_MIN==0
2024-08-28 18:18:55 +10:00
George Zogopoulos
6fee0eccad
Plane: Removed all instances of in_back_transition
...
It is not currently used anywhere.
2024-08-28 18:18:55 +10:00
George Zogopoulos
3b247a346a
Plane: TKOFF_THR_MIN is applied to SLT transitions
...
Also split in_transition() to forward and backward.
2024-08-28 18:18:55 +10:00
Iampete1
f9f9beb858
Plane: add ICEngine start/stop aux function
2024-08-27 09:37:34 +10:00
Iampete1
5a3fb37214
Plane: call ICE init
2024-08-27 09:37:34 +10:00
Ido Buchman
e037b0b985
ArduPlane: add support for deca frame in QuadPlane::setup
...
The deca frame is properly supported for Copter and as the quadplane vtol setup calls upon the copter frames, it should also be supported for arduplane vtol for anyone who wants to work 10 vertical motors.
2024-08-21 17:34:19 +01:00
Randy Mackay
32cee974e4
Plane: 4.5.6-beta1 release notes
2024-08-21 19:35:33 +10:00
Peter Barker
d8252d81f8
ArduPlane: emit MAV_RESULT_DENIED if start/stop item passed to MAV_CMD_MISSION_START
2024-08-20 09:38:43 +10:00
timtuxworth
f63568b34b
ArduPlane: Bindings for crosstrack in Lua
2024-08-20 09:10:42 +10:00
Iampete1
698f8fb40e
Plane: Qautotune: use new disarmed call and add new aux function
2024-08-13 08:57:44 +09:00
magate
d5bd30bce0
Plane: do not set desired vel/accel on takeoff
...
This effectively bypasses the input shaping.
Currently this creates a step change in the position controller.
2024-08-13 09:21:27 +10:00
Peter Barker
2632e5b8a6
Plane: use enum class for VTOL approach stage
...
also namespace it with the state variable which uses this type
2024-08-07 17:52:25 +10:00
Peter Barker
994e3edfb5
Plane: move braces to be around entire case in do_aux_function
2024-08-07 12:22:49 +10:00
Peter Barker
74bf618a32
ArduPlane: add build_option.py entry for Plane offboard-guided control
2024-08-06 17:45:17 +10:00
George Zogopoulos
14b505c3cb
ArduPlane: Fixed typos
2024-08-06 14:03:27 +10:00
Peter Barker
2fd10d5ff2
Plane: remove ancient parameter conversion code
...
upgrading from 3.7 to 4.6 will not work as well as it otherwise might after this...
2024-08-06 09:55:27 +10:00
Peter Barker
a6cda46de3
Plane: stop using ENABLED against OSD_ENABLED
...
it uses 1 in AP_OSD_config.h
2024-08-05 10:20:14 +10:00
Peter Barker
b1659649ed
Plane: remove ENABLED/ENABLE defines
2024-08-05 10:20:14 +10:00
Peter Barker
c2f5c48fe5
Plane: rename OFFBOARD_GUIDED to AP_PLANE_OFFBOARD_GUIDED_SLEW_ENABLED
...
and remove comparison vs ENABLED
2024-08-05 10:20:14 +10:00
Peter Barker
da562369b5
Plane: remove replace PARACHUTE define with AP_PARACHUTE_ENABLED
2024-08-05 10:20:14 +10:00
Randy Mackay
7513b202c7
Plane: 4.5.5 release notes
2024-08-01 16:02:00 +10:00
George Zogopoulos
85bb4ad88f
Plane: Revert min throttle during transitions
2024-07-31 18:23:40 +10:00
George Zogopoulos
ae6f41f414
Plane: Fixed unhandled TKOFF_THR_MAX=0 case
2024-07-31 18:23:40 +10:00
Peter Barker
aec3feee25
ArduPlane: add build option to not send RC_CHANNELS_RAW
...
we keep this around in case we break old OSD setups
2024-07-30 10:29:58 +10:00
Iampete1
55f51eabe8
Plane: move `have_autoenabled_fences` to be private in `ModeTakeoff`
2024-07-30 09:59:01 +10:00
Randy Mackay
2806f8b63b
Plane: 4.5.5-beta2 release notes
2024-07-29 16:19:30 +10:00
George Zogopoulos
c213ee2ef8
Plane: Converted paramter TKOFF_MODE into TKOFF_OPTIONS
2024-07-29 15:50:32 +10:00
George Zogopoulos
773c91cec1
ArduPlane: Added minimum throttle during TAKEOFF mode
...
This is a rework so that servos.cpp is responsible for setting the
throttle limits under more circumstances and always notifies TECS when
it does so.
Additionally, the TAKEOFF mode has been improved with a new parameters
TKOFF_MODE and TKOFF_THR_MIN that extend the throttle behaviour.
2024-07-29 15:50:32 +10:00
Ep Pravitra
fe2e75b2a0
Plane: option to immediately climb in AUTO mode (not doing glide slope)
...
add comment in Parameters.cpp
Update ArduPlane/altitude.cpp
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
clarification in FLIGHT_OPTIONS description
change the comment
param comment change
Update ArduPlane/Parameters.cpp
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2024-07-25 09:49:07 +10:00
Peter Barker
c451518bdd
ArduPlane: correct compilation with AP_RRSI_ENABLED false
...
Co-authored-by: David Buzz <davidbuzz@gmail.com>
2024-07-24 09:11:39 +10:00
Andy Piper
f8e5c7c1c4
Plane: address minor review comments
2024-07-24 08:24:06 +10:00
Andrew Tridgell
d845af9bc3
Plane: fixed re-enable of fence for FENCE_AUTOENABLE=1
...
the is an adjustment to the previous fix which only worked when we had
at least one fence element enabled when we were not flying or disarmed
2024-07-24 08:24:06 +10:00
Andrew Tridgell
5d46e0c64e
Plane: reset previous mode fence breach when disarmed
...
when we are disarmed or we are not in fence breach and we are not
flying then reset the previous mode fence reason state so that a new
flight will get the correct fence breach action behaviour
2024-07-24 08:24:06 +10:00
Andy Piper
e4f76cd27d
Plane: reject guided destinations outside the fence
2024-07-24 08:24:06 +10:00
Andy Piper
e4cbee133b
Plane: only disable fences when in landing phase
2024-07-24 08:24:06 +10:00
Andy Piper
a11cc6ea66
Plane: use generic fence handling in missions
2024-07-24 08:24:06 +10:00
Andy Piper
46d6d0bf03
Plane: disable fences for landing by suppressing in the fence check rather than using a state machine
2024-07-24 08:24:06 +10:00
Andy Piper
ee7742ac40
Plane: use reset_fence_floor_enable()
2024-07-24 08:24:06 +10:00
Henry Wurzburg
a6300e35d0
Plane: prevent Mode Takeoff calling fence autoenable more than once
2024-07-24 08:24:06 +10:00
Andy Piper
559bd1e252
Plane: use fence enable_configured()
...
avoid fence breach clearing spam
2024-07-24 08:24:06 +10:00
Andy Piper
8c2f686bfa
Plane: output user-friendly fence messages
2024-07-24 08:24:06 +10:00
Michael du Breuil
80277e6da0
ArduPlane: Add a stall speed parameter
2024-07-23 10:37:24 +10:00
Andrew Tridgell
d4f9843e55
Plane: support MAV_CMD_SET_HAGL
...
allow for external height above ground estimate
2024-07-17 08:03:18 +10:00
Andy Piper
ebe7633178
Plane: 4.5.5-beta1 release notes
2024-07-03 13:03:45 +10:00
Iampete1
39e75c5b67
Plane: Quadplane: update Q_OPTION bit 22 description
2024-07-02 10:23:51 +10:00
Peter Barker
c14c2d67d4
ArduPlane: make AP_RANGEFINDER_ENABLED remove more code
2024-07-02 09:17:26 +10:00
TsuyoshiKawamura
0034a7fc30
Plane: minor comment corrections
2024-06-25 08:29:57 +09:00
Simon Hancock
7d2000f3d5
ArduPlane: Add help for QPOS log message
2024-06-19 17:08:17 +10:00
Simon Hancock
c12b5b4b0e
Arduplane: Correct order of QTUN log message params
2024-06-19 09:38:59 +10:00
Iampete1
3823493cd2
ArduPlane: use new ModeReason::AUX_FUNCTION
2024-06-18 09:49:20 +10:00
Iampete1
ee1647f41e
ArduPlane: 4.5.4 release notes
2024-06-15 09:20:13 +09:00
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