Commit Graph

62085 Commits

Author SHA1 Message Date
Peter Barker 4a1adc69da GCS_MAVLink: make compass.mag_cal_fixed_yaw return boolean
this method could be used from a transmitter without GCS enabled, for example
2024-02-06 11:11:27 +11:00
Peter Barker 4c272d21ee AP_HAL_ChibiOS: make compass.mag_cal_fixed_yaw return boolean
this method could be used from a transmitter without GCS enabled, for example
2024-02-06 11:11:27 +11:00
Peter Barker 084b0aea24 AP_Compass: make compass.mag_cal_fixed_yaw return boolean
this method could be used from a transmitter without GCS enabled, for example
2024-02-06 11:11:27 +11:00
Peter Barker 8cc662163b AP_RCProtocol: add separate define for AP_RCPROTOCOL_DSM_ENABLED 2024-02-06 11:09:12 +11:00
Peter Barker e3d00f20a6 Blimp: provide and use base-method implementation for guided mode request 2024-02-06 11:07:48 +11:00
Peter Barker 25777adfb5 AntennaTracker: provide and use base-method implementation for guided mode request 2024-02-06 11:07:48 +11:00
Peter Barker f1457034e2 GCS_MAVLink: provide and use base-method implementation for guided mode request 2024-02-06 11:07:48 +11:00
Peter Barker 95661bb9bb waf: include piccolocan protocol directory in all libraries
with can_mgr in AP_Vehicle, eliding no longer works for the symbols generated from this directory, as *all* vehicles now get can, including the ones especially created in examples.  So now we include the symbols.
2024-02-06 11:03:54 +11:00
Peter Barker 17145bea46 Rover: 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 cb05eef238 ArduSub: 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 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 af5cba5826 ArduCopter: 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 f0d99535e2 AntennaTracker: 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 e660a1925e AP_Vehicle: move can_mgr.init call up to AP_Vehicle
... also adds the call for Blimp...
2024-02-06 11:03:54 +11:00
Iampete1 2f42f55278 Plane: move pilot throttle output up to control modes 2024-02-06 11:02:28 +11:00
Peter Barker b1ddbe9904 RC_Channel: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker bed976a8fc AP_Scripting: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker a8bc7761d3 AP_OSD: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker eda6d0b6a0 AP_Motors: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker b48b26ddb8 AP_RCTelemetry: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker c7678042da AP_OSD: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker 10a815d3a2 AP_Notify: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker cfab2e08ef AP_MSP: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker 55dbee78f8 AP_LTM_Telem: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker 7f6cb0eab3 AP_Hott_Telem: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker 1f4c129341 AP_BattMonitor: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker 9961e8c49d hwdef: remove bad hwdef lines
these have no effect
2024-02-06 10:58:44 +11:00
rishabsingh3003 b2dfd14696 AP_Arming: Add check for CAN MR72 2024-02-06 10:57:21 +11:00
rishabsingh3003 b8d08a7211 AP_Proximity: Add support for CAN MR72 2024-02-06 10:57:21 +11:00
rishabsingh3003 0cdfdc6234 AP_CANMangaer: Add support for CAN MR72 2024-02-06 10:57:21 +11:00
Andy Piper d5ba0b6302 AP_RCProtocol: discriminate GHST and CRSF based on first byte
do not change to GHST baudrate unless it has been specifically configured
2024-02-06 09:55:56 +11:00
Andrew Tridgell 1f2b9df290 HAL_Linux: fixed float calc of time for onboard flow 2024-02-06 07:31:21 +11:00
Andrew Tridgell c26f6d0a98 HAL_SITL: use integer maths for clocks
same fix as for HAL_Linux
2024-02-06 07:31:21 +11:00
Andrew Tridgell 45ca3ad4bb HAL_Linux: fixed time function to use integer maths
avoid floating point rounding errors after long uptimes.

thanks to Richard (RSAXVC) for finding this
2024-02-06 07:31:21 +11:00
Richard Allen 2ca6ea4ffd README: Fix broken link to CI unit test 2024-02-04 22:34:55 -08:00
Peter Barker 49b4a74641 AP_Radio: tidy AP_Radio includes 2024-02-05 09:26:14 +11:00
Peter Barker 0d26118b12 hwdef: tidy AP_Radio includes 2024-02-05 09:26:14 +11:00
Andrew Tridgell 85439360d7 HAL_ChibiOS: fixed I2C4 on STM32G4 2024-02-05 07:36:14 +11:00
Andrew Tridgell 4f327e44ea Plane: fixed handling of arming with safety on
if safety is on and you force arm them turn safety off then Q modes
cannot run the motors as the AP_Motors armed state will still be off.

This ensures that the motors are armed immediately we arm. This
matches what copter does when arming with safety on
2024-02-03 15:55:36 +11:00
Andrew Tridgell 1e4f597e02 HAL_ChibiOS: fixed support for STM32H7A3
need to tell ChibiOS this is a newer H7
2024-02-03 08:36:18 +11:00
Andrew Tridgell 5130f93c03 AP_Param: fixed setting of defaults for dynamic param trees
when we load a VARPTR subtree we need to re-scan the parameter
defaults file from @ROMFS/defaults.parm in case there are defaults
applicable to this subtree
2024-02-03 07:45:51 +11:00
Peter Barker a82b7f20c9 AP_HAL_ChibiOS: use HAL_LOGGING_ENABLED in place of HAL_BOOTLOADER_BUILD
bootloader already disables GCS, so we can rely on HAL_GCS_ENABLED in place of HAL_BOOTLOADER_BUILD
2024-02-02 19:21:58 +11:00
Peter Barker cd1e1273fa Tools: size_compare_branches.py: correct pruning of threads 2024-02-01 14:27:36 +11:00
Peter Barker 039701b616 board_list.py: correct autobuild target name
this has to be the waf target name
2024-02-01 12:31:04 +11:00
Peter Barker cfe6844196 Tracker: factor handle_message function
with an eye to removing the ability to set home via mission upload
2024-02-01 12:31:04 +11:00
David O'Connor eaec73ca70 Tools: add AnyLeaf H7 board 2024-02-01 11:43:57 +11:00
David O'Connor 078697c825 hwdef: add AnyLeaf H7 board 2024-02-01 11:43:57 +11:00
Leonardo Garcia 5749bd5074 AP_HAL_ChibiOS: mRo KitCAN revC board fix
Add RM3100 reversal mask to deal with M10025C board changes.
2024-02-01 11:43:35 +11:00
Andrew Tridgell 33f6a1d87e hwdef: added MatekH7A3 support 2024-02-01 11:43:24 +11:00
Andrew Tridgell cc5579823d Tools: added MatekH7A3 bootloader 2024-02-01 11:43:24 +11:00