334 Commits

Author SHA1 Message Date
Jazhi
5f70687b55 Plane: fix short failsafe
Co-Authored-By: Henry Wurzburg <hwurzburg@yahoo.com>
2025-08-12 09:32:38 +10:00
Iampete1
066c07553f ArduPlane: move RPM lib to vehicle 2025-07-22 10:33:55 +10:00
Ryan Friedman
2c1840f59a ArduPlane: change OPTION case to match convention
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2025-07-22 08:22:37 +10:00
co63oc
50b8551ccc ArduPlane: correct typos and mis-spellings 2025-05-04 23:36:45 +10:00
Thomas Watson
4e71b07bff ArduPlane: avoid truncating failsafe time on GCS failsafe exit test
This doesn't really change behavior since the time that will cause it to
be entered will always be longer than the time that will cause it to be
exited, but it makes sense to be symmetric.
2025-04-29 09:38:12 +10:00
Peter Barker
08a1d5c681 ArduPlane: correct myggcs to mygcs
not sure what the extra "g" was supposed to be for, best suggestion so far is "great".

Doesn't really add anything, so we should remove it.
2025-04-02 19:48:47 +11:00
Peter Barker
dc898e42dd Plane: document date of conversion code addition 2024-10-15 11:02:29 +11:00
Peter Barker
0c0a615403 ArduPlane: adjust for AP_Mission logging mission-item-starts 2024-10-01 10:19:29 +10:00
Peter Barker
dc0941ac09 ArduPlane: correct initialisation of PrecLand buffers
this value determines the size of buffers allocated.

Too high and you waste RAM.  Too low and you probably won't store data correctly.
2024-09-24 10:56:57 +09:00
Iampete1
5a3fb37214 Plane: call ICE init 2024-08-27 09:37:34 +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
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
Peter Barker
c14c2d67d4 ArduPlane: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Andy Piper
17083b54f8 Plane: ensure the dshot type gets set 2024-05-22 18:25:07 +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
6cd55a9eda ArduPlane: stop passing serial manager to GPS init
it can get this via the singleton
2024-03-19 07:28:55 +11:00
Andrew Tridgell
a4109c6cf2 Plane: compile in AC_PrecLand for scripting 2024-03-06 09:39:51 +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
Peter Barker
fcd7c5beb9 ArduPlane: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Peter Barker
33895e8816 Plane: move scripting up to AP_Vehicle 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
Peter Barker
89417f07a6 ArduPlane: move call to BoardConfig.init to AP_Vehicle 2024-02-01 07:59:11 +11:00
Peter Barker
0bc2c15485 Plane: move AP_Stats to AP_vehicle 2024-01-30 11:12:21 +11:00
Peter Barker
6ee5ab41fd ArduPlane: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Mykhailo Kuznietsov
b7c040e8bc ArduPlane: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Andrew Tridgell
435a83f106 ArduPlane: removed set_blocking_writes_all calls 2023-07-12 17:06:02 +10:00
Iampete1
61682f6551 Plane: implement FLTMODE_GCSBLOCK bitmask 2023-06-28 12:56:25 +01:00
Iampete1
2f4b617464 Plane: remove SYS_NUM_RESETS, replaced by STAT_BOOTCNT 2023-06-20 11:10:36 +10:00
Peter Barker
9d3ebf0d54 ArduPlane: add option to disable relay and servorelay libraries 2023-06-20 09:36:39 +10:00
Peter Barker
57d3ebf123 ArduPlane: make Plane use more of RC_Channel library for mode switching 2023-04-18 09:19:20 +10:00
Randy Mackay
d9795d3580 Plane: integrate camera frontend/backend split 2023-03-01 18:18:51 +11:00
Henry Wurzburg
10b69e1c1f Plane:expand yaw autotune to other modes 2023-01-31 10:02:16 +11:00
Peter Barker
5483398c7d Plane: correct compilation when QAUTOTUNE compiled out 2022-12-18 09:19:12 +11:00
Peter Barker
0cf56ea320 ArduPlane: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Henry Wurzburg
06730ab1bc ArduPlane: add warning for large offset cal 2022-12-13 17:08:42 +11:00
Peter Barker
de4dda2d17 ArduPlane: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Andrew Tridgell
6a005c893e Plane: cover more cases in fence breach mode change
we want to allow all landing sequence mode changes
2022-10-24 09:16:38 +11:00
Andrew Tridgell
71fdf37055 Plane: allow mode switch on fence breach for RTL_AUTOLAND
when we are in a fence breach we by default disallow mode changes, but
we need to allow for the switch to AUTO if the reason is we are
entering a landing sequence, which is part of the RTL process which is
the fence action
2022-10-23 20:37:40 +11:00
Peter Barker
9e0894c93a ArduPlane: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
Peter Barker
e596f7ce83 Plane: add and use AP_RPM_ENABLED 2022-09-20 09:28:27 +10:00
Iampete1
2b0492e6aa Plane: disalow mode change during fence recovery if option is set 2022-08-17 17:21:30 +10:00
Iampete1
ee778dbd3a Plane: Quadplane: add option_is_set helper for Q_OPTIONS 2022-08-09 13:21:00 +10:00
Iampete1
2b8958f931 Plane: Fence moved to vehicle 2022-07-27 19:04:56 +10:00
Iampete1
dd2221338b Plane: fence: do not re-trigger if mode change for expected reason 2022-07-19 09:44:36 +10:00
Iampete1
90f2bf3ba2 Plane: remove duplicate last mode reason 2022-07-19 09:44:36 +10:00
Andrew Tridgell
15084cb6f3 Plane: moved harmonic notch update code to AP_Vehicle 2022-04-19 09:39:03 +10:00
Andrew Tridgell
d57abb1230 Plane: support harmonic notch on 2nd RPM sensor 2022-04-19 09:39:03 +10:00
Andrew Tridgell
c1d841dd93 Plane: support two full harmonic notch filters 2022-04-19 09:39:03 +10:00
Henry Wurzburg
14700063d2 ArduPlane: convert floating point divides into multiplys 2022-03-18 15:26:44 +11:00
Joshua Henderson
c1abcfb7c4 Plane: move Airspeed to AP_Vehicle 2022-01-19 18:21:32 +11:00