Commit Graph

66828 Commits

Author SHA1 Message Date
Peter Barker
c0fd999e45 Sub: correct build when rangefinder not anabled
../../ArduSub/sensors.cpp: In member function 'void Sub::read_rangefinder()':
../../ArduSub/sensors.cpp:80:23: error: 'struct Sub::<unnamed>' has no member named 'alt_cm'
   80 |     rangefinder_state.alt_cm = 0;
      |                       ^~~~~~
compilation terminated due to -Wfatal-errors.
2025-03-09 11:16:38 +11:00
Thomas Watson
1f51cb395e AP_HAL: drop HAL_FORWARD_OTG2_SERIAL
This is no longer used with the advent of PPP from CubeRedPrimary to
CubeRedSecondary. There is a similar version still in the bootloader
which is still useful.

Not using it in the future is beneficial so that OTG2 (SERIAL6) can be
used for other purposes. The feature can also be replaced using the
serial passthrough options.
2025-03-07 08:56:23 -05:00
Thomas Watson
731e75b059 AP_HAL_ChibiOS: drop HAL_FORWARD_OTG2_SERIAL
This is no longer used with the advent of PPP from CubeRedPrimary to
CubeRedSecondary. There is a similar version still in the bootloader
which is still useful.

Not using it in the future is beneficial so that OTG2 (SERIAL6) can be
used for other purposes. The feature can also be replaced using the
serial passthrough options.
2025-03-07 08:56:23 -05:00
Thomas Watson
1f4a2cb4c5 AP_Bootloader: fix BOOTLOADER_FORWARD_OTG2_SERIAL comments 2025-03-07 08:56:23 -05:00
Andrew Tridgell
1eb64914d8 Plane: prevent learning bad ARSPD_RATIO
this prevents learning of ARSPD_RATIO when not in fly-forward or not
armed

the scenario that happened on a real aircraft was gps glitches in a
hanger combined with airspeed offset causing the learning of an
ARSPD_RATIO of 4.0, resulting in a stall in an AUTO mission and a
crash
2025-03-07 15:42:09 +11:00
Andrew Tridgell
f72c4a888c AP_ADSB: clarify ADSB_LIST_ALT docs
alt is above our alt
2025-03-07 09:08:32 +11:00
Peter Barker
e86cd5e5d5 autotest: add test for payload place when gripper was open 2025-03-07 07:58:10 +11:00
Peter Barker
75be83954a AP_RangeFinder: mark _add_backend, init and detetct_instance as __INITFUNC__ 2025-03-06 12:35:46 -05:00
Peter Barker
e68be1cdb9 AP_OpticalFlow: mark Pixart init data as __INITFUNC__ 2025-03-06 12:35:46 -05:00
bugobliterator
eb9e6cc3de AP_HAL_ChibiOS: define mav sys id 2 for CubeRedSecondary in hwdef 2025-03-06 12:20:33 -05:00
ZeroOne-Aero
efef2a7443 hwdef: Update ZeroOneX6 README.md 2025-03-06 15:48:05 +11:00
Your Name
e86d419fc1 hwdef: Make ZeroOneX6 supports Bi-directional DShot 2025-03-06 15:48:05 +11:00
Peter Barker
9be7d8323d AP_RCProtocol: use NEW_NOTHROW on emlid RCIO backend 2025-03-05 23:47:19 -05:00
Peter Barker
c2ea8d3bac GCS_MAVLink: remove unused dsmMode param from start_bind methods 2025-03-05 23:47:19 -05:00
Peter Barker
8a835bd28e AP_RCProtocol: remove unused dsmMode param from start_bind methods 2025-03-05 23:47:19 -05:00
Peter Barker
e3a462a22a AP_IOMCU: remove unused dsmMode param from start_bind methods 2025-03-05 23:47:19 -05:00
Peter Barker
b6a7441b70 AP_HAL_SITL: rely on AP_RCProtocol to provide protocol name 2025-03-05 23:47:19 -05:00
Peter Barker
4411e56b04 AP_HAL_ESP32: leave protocol announcements to the GCS 2025-03-05 23:47:19 -05:00
Peter Barker
4d510e2204 AP_Logger: use AP::RC() directly to get detected protocol name 2025-03-05 23:47:19 -05:00
Peter Barker
adf0e81d97 AP_HAL_QURT: adjust for RCProtocol detected protocol name changes 2025-03-05 23:47:19 -05:00
Peter Barker
b54972312e AP_RCProtocol: examples: instantiate GCS object
GCS is enabled, you need one.

Also correct method used to get protocol name
2025-03-05 23:47:19 -05:00
Peter Barker
9b40defc8b AP_HAL_ESP32: cope with RC binding moving to AP_RCProtocol 2025-03-05 23:47:19 -05:00
Peter Barker
8c706f0388 RC_Channel: bind receivers directly via AP_RCProtocol library
... rather than via RC_Channels and the HAL and *then* to the AP_RCProtocol library...
2025-03-05 23:47:19 -05:00
Peter Barker
089c4933ba GCS_MAVLink: bind receivers directly via AP_RCProtocol library
... rather than via RC_Channels and the HAL and *then* to the AP_RCProtocol library...
2025-03-05 23:47:19 -05:00
Peter Barker
772599290b AP_HAL: bind receivers directly via AP_RCProtocol library
... rather than via RC_Channels and the HAL and *then* to the AP_RCProtocol library...
2025-03-05 23:47:19 -05:00
Peter Barker
1ac1510cec AP_HAL_ChibiOS: bind receivers directly via AP_RCProtocol library
... rather than via RC_Channels and the HAL and *then* to the AP_RCProtocol library...
2025-03-05 23:47:19 -05:00
Peter Barker
5d40d06074 AP_RCProtocol: move RC Protocol announcements to AP_RCProtocol 2025-03-05 23:47:19 -05:00
Peter Barker
a59755f7ca AP_Logger: move RC Protocol announcements to AP_RCProtocol 2025-03-05 23:47:19 -05:00
Peter Barker
f365b0f0f0 AP_HAL_ChibiOS: move RC Protocol announcements to AP_RCProtocol 2025-03-05 23:47:19 -05:00
Peter Barker
c6e18a73c7 AP_RCProtocol: move IOMCU RC input handling down into AP_RCProtocol 2025-03-05 23:47:19 -05:00
Peter Barker
0f6b6ce51b AP_HAL_ChibiOS: move IOMCU RC input handling down into AP_RCProtocol 2025-03-05 23:47:19 -05:00
Peter Barker
8c1da9a087 autotest: add copter autotest for mission clearing after reboot 2025-03-05 21:42:17 +11:00
Randy Mackay
080dc64512 AP_Mission: fix option_is_set 2025-03-05 19:09:52 +09:00
Peter Barker
0189c6f1bb AP_Notify: stop using OwnPtr in IS31FL3195 2025-03-05 18:18:11 +11:00
Peter Barker
b9699b46a7 autotest: add simple test for SHT3X temperature sensor 2025-03-05 18:17:28 +11:00
Peter Barker
a87e6eb707 Tools: add support for SHT3x-DIS temperature sensor 2025-03-05 18:17:28 +11:00
Peter Barker
b1f704cf76 AP_TemperatureSensor: add support for SHT3x-DIS temperature sensor 2025-03-05 18:17:28 +11:00
Peter Barker
8df29a3960 SITL: add simulated SHT3x temperature sensor 2025-03-05 18:17:28 +11:00
Peter Barker
0ae3e7cdcb AP_Math: allow initial value to be specified for crc8_generic
some crc8's start with a non-zero value
2025-03-05 18:17:28 +11:00
Peter Barker
a514af1b2e AP_TemperatureSensor: mark init() functions as __INITFUNC__ 2025-03-05 18:17:28 +11:00
Randy Mackay
13cbd76651 Tools: update AHRS AutoTrim build option description 2025-03-05 11:22:40 +09:00
Randy Mackay
02ab06ff05 RC_Channel: rename rc option to AHRS AutoTrim 2025-03-05 11:22:40 +09:00
Shiv Tyagi
a313c2a063 Tools: use new AP_PERIPH_ESC_APD_ENABLED define 2025-03-05 09:45:07 +11:00
Shiv Tyagi
3798d6fd32 AP_HAL_ChibiOS: use new AP_PERIPH_ESC_APD_ENABLED define 2025-03-05 09:45:07 +11:00
Shiv Tyagi
c814c05532 Tools: update error message to use new AP_PERIPH_RELAY_ENABLED define 2025-03-05 09:18:49 +11:00
Peter Barker
0d0bc93428 AP_NavEKF3: document variance state fields 2025-03-05 09:16:10 +11:00
Tiziano Fiorenzani
4c17f092ee AP_DDS: Navsat sending all available instances 2025-03-05 09:15:48 +11:00
Peter Barker
a115886abd AP_OpticalFlow: correct includes for AP_OpticalFlow_MSP
unused ownptr header
2025-03-05 09:15:32 +11:00
Iampete1
a2e0e28263 Plane: fence: refactor action cases 2025-03-04 08:08:39 +00:00
Andrew Tridgell
478b47caa2 hwdef: update comments on APJ_BOARD_ID 2025-03-04 13:36:48 +11:00