Commit Graph

66848 Commits

Author SHA1 Message Date
Randy Mackay
e761edfcce AP_Motors: MOT_THST_HOVER param desc min/max fixed 2025-03-10 19:28:15 +09:00
Peter Barker
f63f46e969 AP_Airspeed: move calibration state into calibration state struct
Co-authored-by: Iampete1 <iampete@hotmail.co.uk>
2025-03-10 20:43:43 +11:00
Peter Barker
954feda85d Tools: size_compare_branches.py: use a Task object for storing tasks 2025-03-10 19:40:36 +11:00
Peter Barker
3530f288e8 Tools: size_compare_branches.py: do not try to compile bl for CubeRedSecondary-IO
.... we don't compile bootloader for the IOMCU at this point
2025-03-10 19:40:21 +11:00
Conor
05ee94c586 SITL: correct instructions on how to use JSON interface
The previous read me suggested using "-f json" to include the interface in SITL. This was difficult to work with as it replaced the vehicle's frame definition argument and prevented users from accessing the default parameters. By using "--model json" instead, the "-f" argument is left free for the vehicle's frame definition.
2025-03-10 19:40:03 +11:00
rtos-kawamura
7dcac52204 Tools: remove duplication in ardupilotwaf.py 2025-03-10 19:39:43 +11:00
Randy Mackay
1284f460cd Tools: add Hexsoon 24G radar build option 2025-03-10 15:02:57 +09:00
Randy Mackay
0dc5f7829a AP_RangeFinder: add Hexsoon 24G Radar support 2025-03-10 15:02:57 +09:00
Julio Cesar Matias
ba755f6909 AP_InertialSensor: Remove two unused defines 2025-03-10 15:21:34 +11:00
SULILG
fad4516f76 hwdef:SULILGH7-P1-P2 BMI088_DRDY Pin 2025-03-10 15:02:15 +11:00
SULILG
d35acbb231 hwdef:SULILGH7-P1-P2 LED_ON 0 2025-03-10 15:02:15 +11:00
Thomas Watson
e9e4a207af Tools: drop Ubuntu Bionic and Debian Buster
They have been past end of support for nearly one year and nearly two
years respectively. Allows us to require at minimum Python 3.8.
2025-03-10 12:47:43 +11:00
muramura
1ca1c57016 AC_Fence: Remove redundant steps 2025-03-10 12:14:28 +11:00
Shiv Tyagi
f30d262aaf Tools: use new AP_PERIPH_XX_LED_WITHOUT_NOTIFY_ENABLED defines 2025-03-10 08:45:22 +11:00
Shiv Tyagi
908223f699 AP_HAL_ChibiOS: use new AP_PERIPH_XX_LED_WITHOUT_NOTIFY_ENABLED defines 2025-03-10 08:45:22 +11:00
Peter Barker
a50efd984e AP_Periph: correct function name for detected protocol name
../../Tools/AP_Periph/rc_in.cpp: In member function 'void AP_Periph_FW::rcin_update()':
../../Tools/AP_Periph/rc_in.cpp:117:31: error: 'class AP_RCProtocol' has no member named 'protocol_name'; did you mean 'protocol_enabled'?
  117 |     auto new_rc_protocol = rc.protocol_name();
      |                               ^~~~~~~~~~~~~
      |                               protocol_enabled
compilation terminated due to -Wfatal-errors.
2025-03-09 15:02:40 -04:00
Peter Barker
ec18cf3614 SITL: add simulated AS5600 sensor 2025-03-09 18:48:11 +11:00
Peter Barker
f707488707 Tools: correct extraction of Hexsoon and MR72 Radars 2025-03-09 11:16:38 +11:00
Peter Barker
c0c2a87acd AP_Scripting: don't provide handle_external_position_estimate if not AP_AHRS_EXTERNAL_ENABLED 2025-03-09 11:16:38 +11:00
Peter Barker
e93594c486 AP_Proximity: correct compialtion when hexsoon radar not compiled in
../../libraries/AP_Proximity/AP_Proximity.cpp: In member function 'void AP
_Proximity::init()':
../../libraries/AP_Proximity/AP_Proximity.cpp:231:20: error: 'Hexsoon_Rada
r' is not a member of 'AP_Proximity::Type'
  231 |         case Type::Hexsoon_Radar:
      |                    ^~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
2025-03-09 11:16:38 +11:00
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