Commit Graph

5005 Commits

Author SHA1 Message Date
Henry Wurzburg 055c6242f6 ArduPlane:bug fix 2024-12-31 09:18:49 +11:00
Andrew Tridgell 3647c67e73 Plane: added base leg WP to autoland
this gives a cleaner landing, keeping the plane in the part of the
field where the pilot is currently flying
2024-12-31 09:18:49 +11:00
Henry Wurzburg 32f5afb22a ArduPlane: add AutoLand fixed-wing mode 2024-12-31 09:18:49 +11:00
Ryan Friedman ee5d87f995 ArduPlane: reserve offboard mode ID
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-12-27 07:15:31 +11:00
Peter Barker edc812d7f5 ArduPlane: adjust for renaming of RC_Channel and GCS_MAVLink headers 2024-12-26 11:01:22 +11:00
Peter Barker f00e14900d ArduPlane: make RC_Channel and GCS_MAVLink filenames consistent 2024-12-26 11:01:22 +11:00
Peter Barker 94eaa71182 ArduPlane: correct comments for ArduPlane.cpp rename 2024-12-24 12:26:42 +11:00
Peter Barker 073edac6ee Plane: rename ArduPlane.cpp to Plane.cpp 2024-12-24 12:26:42 +11:00
Peter Barker 9b96ae7811 Plane: merge Plane.cpp into ArduPlane.cpp 2024-12-24 12:26:42 +11:00
Iampete1 2ff877688a Plane: set source index when running aux functions 2024-12-24 11:34:07 +11:00
Iampete1 9f29cb0fba Plane: RC_Channel: pass trigger object onto ICE 2024-12-24 11:34:07 +11:00
Iampete1 f7c4320e86 ArduPlane: move to AuxFuncTrigger structure 2024-12-24 11:34:07 +11:00
Iampete1 cc0f3f2915 Plane: `do_aux_function` call `ice_control.do_aux_function` 2024-12-24 11:34:07 +11:00
Henry Wurzburg 223d683441 ArduPlane: update FS actions metadata with DO_RETURN_PATH_START 2024-12-17 09:34:49 +11:00
George Zogopoulos 4c335e89a0 Plane: Pass external HAGL to TECS 2024-12-15 10:42:32 +11:00
Randy Mackay b5c108c223 Plane: 4.6.0-beta2 release notes 2024-12-12 15:15:44 +11:00
Andrew Tridgell 42ad2a7911 autotest: added non-compass takeoff test 2024-12-11 08:44:15 +11:00
Andrew Tridgell c15fa7b943 Plane: fixed takeoff direction with no yaw source
in TAKEOFF mode with either very poor yaw source or no yaw source we
need to use ground vector and wait for sufficient ground speed
2024-12-11 08:44:15 +11:00
George Zogopoulos 9a5f81aa95 Plane: Added check for takeoff level-off timeout
When an airspeed sensor is not used, during a takeoff, the pitch angle
is asymptotically driven to 0 as the takeoff altitude is approached.
Some airplanes will then stop climbing and fail to reach altitude.

To prevent an indefinite wait for the takeoff altitude to be reached, a
dedicated level-off timeout has been introduced.
2024-12-04 18:07:30 +11:00
Iampete1 a79fcdbfcd Plane: support DO_RETURN_PATH_START misison item and command 2024-12-03 10:31:02 +11:00
George Zogopoulos 2f9ff3ef73 Plane: Call new TECS method in case of altitude change 2024-11-27 19:35:03 +11:00
Michelle Rossouw 43fdc9ce19 Plane: Added Quicktune
replaces QAUTOTUNE in default build
2024-11-27 14:07:38 +11:00
Iampete1 52efe952cd Plane: slew limit all throttles in one place 2024-11-19 11:04:37 +11:00
Iampete1 e0a8b64e08 Plane: tailsitter: tidy tilt left and right handling 2024-11-18 09:09:55 +11:00
Bob Long a69b777d17 Plane: add missing AccZ bit from GCS_PID_MASK doc 2024-11-15 11:40:07 +11:00
Randy Mackay 4f406f31f2 Plane: 4.6.0-beta1 release notes
Co-authored-by: Bill Geyer <bnsgeyer@users.noreply.github.com>
Co-authored-by: Ryan <25047695+Ryanf55@users.noreply.github.com>
Co-authored-by: Thomas Watson <twatson52@mac.com>
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
2024-11-14 10:40:56 +11:00
Iampete1 684881d13a Plane: add support `AVAILABLE_MODES` msg 2024-11-13 20:11:50 +11:00
Peter Barker aadc37ebeb ArduPlane: make SRV_Channels::cork non-static
for symmetry with the push function
2024-11-13 19:47:49 +11:00
Peter Barker c23f777ae6 ArduPlane: create and use a singleton for SRV_Channels
avoid creation of static pointers to objects held within SRV_Channels
2024-11-13 19:47:49 +11:00
Peter Barker 4d8a0fac33 ArduPlane: add specific defines for sending of GPS mavlink messages 2024-11-13 19:40:19 +11:00
George Zogopoulos d149150a45 Plane: Added parameter TKOFF_THR_IDLE 2024-11-13 19:32:00 +11:00
Peter Barker b7ccee5ebe Plane: reorder initialisation of member variables to make -Werror=reorder work 2024-11-13 06:40:37 +11:00
Peter Barker 2ad8477f98 ArduPlane: use RC_Channel to populate IOMCU mappings 2024-11-12 13:10:14 +11:00
Tim Tuxworth 292f7bd785 ArduPlane: use the new MAVLink GUIDED HEADING_TYPE_DEFAULT 2024-11-12 12:43:29 +11:00
Iampete1 47342db416 Plane: remove unused `ChannelMixing` enum 2024-11-11 09:50:00 +11:00
Iampete1 ce0babc8f1 Plane: QuadPlane: Clear pilot corrections on mode change to avoid getting stuck in QLand 2024-11-11 07:08:17 +11:00
Ryan Friedman 215405023d ArduPlane: use set_alt_m when possible
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-08 10:54:39 +11:00
Randy Mackay 9cbf7250c1 Plane: version to 4.7.0-dev 2024-11-06 18:13:45 +11:00
Ryan Friedman 75af2d8cfb ArduPlane: use frame instead of bools for setting alt frame
* And switch to mavlink_coordinate_frame_to_location_alt_frame

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-05 09:42:32 +09:00
muramura 909b48b770 Plane: Adjust the grouping of functions to match the style 2024-11-05 09:03:32 +09:00
Ryan Friedman be5c68d74d ArduPlane: Remove unused radio_in_rssi function
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-10-30 09:26:54 -05:00
George Zogopoulos e9cdc46f55 Plane: Refactored quadplane's SLT_Transition::active_frwd() 2024-10-16 19:02:38 +11:00
George Zogopoulos 016a81bc14 Plane: Reset TECS along with other controllers 2024-10-16 18:58:15 +11:00
Randy Mackay 84a5cc69a6 Plane: 4.5.7 release notes 2024-10-15 11:49:46 +11:00
Peter Barker dc898e42dd Plane: document date of conversion code addition 2024-10-15 11:02:29 +11:00
Peter Barker f01abb9d5d ArduPlane: remove stray log_init declaration
this method went away
2024-10-15 10:42:36 +11:00
George Zogopoulos 4352129c4d Plane: Fix SLT_Transition::active_frwd() check 2024-10-09 19:25:50 +11:00
Peter Barker 1a1edf92b7 Plane: evaluate assistance requirements on mode change
this avoid the AHRS being told we are flying forward - because we are no longer in a VTOL mode - and instantly being told we are not flying forward - because we are providing assistance
2024-10-09 19:19:29 +11:00
Peter Barker c69366ac10 Plane: stop using bit-packing for quadplane state 2024-10-08 20:08:55 +11:00
Leonard Hall ae01a8f26d Plane: updates for offset handling
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-10-04 09:25:56 +09:00