Commit Graph

62966 Commits

Author SHA1 Message Date
Thomas Watson d5a25d7c89 Copter: unmark FORMAT_VERSION as read-only
Matches other vehicles and allows GCSes to use documented behavior of a
zero write to FORMAT_VERSION to reset EEPROM contents.
2024-04-10 17:45:37 +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 ae3c74b8d9 autotest: add a test for RTL_AUTOLAND=1 behaviour 2024-04-10 17:44:25 +10:00
Peter Barker b03b8309ef AP_GPS: copy GPS metadata in for pre-per-instance-parameters
allows to not break older firmware in terms of available metadata
2024-04-10 16:37:35 +09:00
Peter Barker 0e6bca92f7 AP_HAL_ChibiOS: remove redundant lines from hwdef files 2024-04-10 17:28:48 +10:00
Peter Barker 335db007e9 Blimp: remove far_from_EKF_origin sanity checks
some  flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Peter Barker 3443e1c12f ArduSub: remove far_from_EKF_origin sanity checks
some  flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Peter Barker 0c2636c191 ArduCopter: remove far_from_EKF_origin sanity checks
some  flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Peter Barker daf6bca778 AP_Periph: correct compilation when HAL_GCS_ENABLED 2024-04-10 17:11:34 +10:00
Randy Mackay 61b4439d95 Rover: rename release notes 2024-04-10 17:11:13 +10:00
Randy Mackay 415a8d98cb Tracker: fix release note duplication 2024-04-10 17:11:13 +10:00
muramura d4236a95c4 tools: change a word(NFC) 2024-04-10 14:20:04 +09:00
muramura 4ef66dcf34 ardupilotwaf: change a word(NFC) 2024-04-10 14:20:04 +09:00
muramura 927cfeec68 AP_Airspeed: change a word(NFC) 2024-04-10 14:20:04 +09:00
Peter Barker 29149fad1b hwdef: remove un-needed lines from CSKY405 hwdef
linting the hwdef showed this
2024-04-10 10:35:16 +10:00
Peter Barker f16d0378e1 hwdef: compilation fix for CSKY405-fix
SCB-WAF: ../../libraries/AP_HAL/AP_HAL_Boards.h:372:2: error: #error "HAL_GPIO_LED_OFF must not be defined, it is implicitly !HAL_GPIO_LED_ON"  372 | #error "HAL_GPIO_LED_OFF must not be defined, it is implicitly !HAL_GPIO_LED_ON"
2024-04-10 10:35:16 +10:00
Andrew Tridgell 006d2c6cfe hwdef: require bootloader for BotBloxSwitch 2024-04-10 09:59:14 +10:00
Andrew Tridgell a750192e87 Tools: added bootloader for BotBloxSwitch 2024-04-10 09:59:14 +10:00
Peter Barker 27598d1026 AP_HAL_ChibiOS: add missing Math.h include
for "MIN"
2024-04-10 08:45:18 +09:00
Maxim Buzdalov 5e5fde78c2 Tools: use same-bdshotness boards for ccache test 2024-04-09 10:45:08 +10:00
Peter Barker b0351cd339 AP_GPS: protect detection structures with GPS backend defines
Save some memory when backends are compiled out
2024-04-09 10:25:42 +10:00
Iampete1 03b00cb906 AP_Vehicle: call `uart_log` in `one_Hz_update` 2024-04-09 10:00:50 +10:00
Iampete1 264bd91f4e AP_Logger: add log structures from AP_HAL 2024-04-09 10:00:50 +10:00
Iampete1 6017f372a2 AP_HAL_SITL: and `uart_log` method and stats struct 2024-04-09 10:00:50 +10:00
Iampete1 73f4a47496 AP_HAL_ChibiOS: and `uart_log` method and stats struct 2024-04-09 10:00:50 +10:00
Iampete1 e82502a4a4 AP_HAL: Util: add virtual `uart_log` method 2024-04-09 10:00:50 +10:00
Iampete1 1e63ec24a8 AP_HAL: UARTDriver: add log_stats method and log structure 2024-04-09 10:00:50 +10:00
Iampete1 e970a6cb5d AP_HAL_SITL: UARTDriver: add getters for cumulative tx and rx counts 2024-04-09 10:00:50 +10:00
Iampete1 7dd2529683 AP_HAL_ChibiOS: UARTDriver: add getters for cumulative tx and rx counts 2024-04-09 10:00:50 +10:00
Iampete1 a4fd3980a8 AP_HAL: UARTDriver: add getters for cumulative tx and rx counts 2024-04-09 10:00:50 +10:00
Iampete1 c5ecddad92 AP_Logger: add bytes per second unit `B` 2024-04-09 10:00:50 +10:00
Henry Wurzburg 06efeb20cd AP_Airspeed:add option to report cal offset to GCS 2024-04-09 09:54:21 +10:00
Peter Barker 44891ce570 AP_Vehicle: base-class implementation of set_home 2024-04-09 09:35:16 +10:00
Peter Barker 2b76f66ebc Rover: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Peter Barker 6477effa3f Blimp: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Peter Barker 89a9a0e6d1 ArduSub: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +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
Peter Barker 5d41125b49 ArduCopter: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Peter Barker 98daf23d88 AntennaTracker: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Peter Barker 420f80db75 GCS_MAVLink: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Peter Barker d78e96cc6b AP_Vehicle: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Peter Barker ecf93f6d86 hwdef: remove redundant defines from hwdefs
this is set in the periph defaults file
2024-04-09 09:32:15 +10:00
Henry Wurzburg b0decff44f AP_SCripting: update VTOL QuickTune to allow YAW FLTE = 0 2024-04-09 09:31:42 +10:00
Mark Whitehorn 17a17a5955 Plane: fix units metadata for PTCH_LIM_MIN_DEG 2024-04-09 09:30:41 +10:00
Andy Piper 75978f9d6f AP_HAL_ChibiOS: CB Unmanned Stamp H743 2024-04-09 09:26:40 +10:00
Andy Piper b7330c3238 bootloaders: bootloader for CB Unammned Stamp H743 2024-04-09 09:26:40 +10:00
Andy Piper 0e003a9be3 ChibiOS: add support for DP83825 ethernet PHY 2024-04-09 09:26:40 +10:00
Henry Wurzburg b69b2324e6 Filter:correct vehicles which can use throttle based notches 2024-04-08 23:11:03 +01:00
Peter Mullen c0a8e6c96a AP_Scripting: lua range finder driver that returns distances to a simulated sea floor for testing ArduSub surface tracking modes 2024-04-08 11:18:23 -03:00
Peter Mullen 7a0569fd8f autotest: test ArduSub surface tracking modes 2024-04-08 11:18:23 -03:00