Commit Graph

35676 Commits

Author SHA1 Message Date
Randy Mackay d0d33b0b36 AP_Mount: clarify yaw_lock comments 2024-03-26 10:49:30 +11:00
Randy Mackay 4755a60863 AP_Mount: RC targeting mode lock state from previous mode
This leads to smoother transitions between RC and GCS control
2024-03-26 10:49:30 +11:00
Randy Mackay 65b4db5ede AP_NavEKF3: define Yaw alignment min GPS speed per vehicle 2024-03-26 10:01:42 +11:00
Peter Barker 964c30e053 AP_RCProtocol: add support for RC input from SITL FDM data 2024-03-25 22:35:04 +11:00
Peter Barker db0188d3a3 AP_HAL_SITL: add support for RC input from SITL FDM data 2024-03-25 22:35:04 +11:00
Peter Barker 729c911462 SITL: add and use AP_RCProtocol_UDP 2024-03-25 22:35:04 +11:00
Peter Barker 1357b4ac33 AP_RCProtocol: add and use AP_RCProtocol_UDP 2024-03-25 22:35:04 +11:00
Peter Barker 4005bce85c AP_HAL_SITL: add and use AP_RCProtocol_UDP 2024-03-25 22:35:04 +11:00
Peter Barker 4a996c81fb AP_HAL: add and use AP_RCProtocol_UDP 2024-03-25 22:35:04 +11:00
Randy Mackay 1eb2a3009d AC_PosControl: always update yaw targets 2024-03-25 11:03:25 +09:00
Randy Mackay e9cffbb56e RC_Channel: integrate AP_CAMERA_SET_CAMERA_SOURCE_ENABLED 2024-03-25 09:19:18 +09:00
Randy Mackay 3a570943d5 AP_Mission: support set-camera-source 2024-03-25 09:19:18 +09:00
Randy Mackay a6a5cde34c AP_Mount: add set_camera_source support 2024-03-25 09:19:18 +09:00
Randy Mackay 5a22fb8da5 AP_Camera: support set-camera-source mavlink command 2024-03-25 09:19:18 +09:00
Randy Mackay ff7486e3cc GCS_MAVLink: forward set-camera-source to AP_Camera 2024-03-25 09:19:18 +09:00
Ryan Friedman 650db2db35 AP_HAL: Fix incorrect return type
* This caused position quantization errors in the MicroStrain7

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-03-25 08:06:46 +11:00
Peter Barker 813f0cf428 hwdef: remove save_some_flash.inc
all but one board was getting all of these includes from minimize_fpv_osd, and the remaining board had most lines foming from minimize_features.inc.

This file has served its purpose, its role now taken on by minimize_fpv_osd.inc
2024-03-24 20:15:53 +11:00
Ryan Friedman bd518dc140 AP_DDS: Fix incorrect port param name
* We want to support TCP and UDP in the future, so make sure we call it
  UDP here

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-03-24 11:27:22 +11:00
Peter Barker 85d25b205f hwdef: remove unused STM32_PWM_USE_ADVANCED defines 2024-03-23 22:04:34 +11:00
Peter Barker 5d369b2634 chibios_hwdef.py: correct extraction of intdefines from hwdef files
many of our hwdef files contain lines which look like this:

define STM32_PWM_USE_ADVANCED TRUE

The current regex does not allow for numbers in those define, so the regex ends up matching "STM" as a name....

the "intdefines" hash which is populated from these is only used internally to chibios_hwdey.py for logic purposes, not directly in hwdef output purposes, and none of the strings which it looks at contain numbers at the moment, so this is a non-functional change.
2024-03-23 15:23:08 +11:00
Andrew Tridgell 663a41a1f0 hwdef: probe external i2c compasses on MatekL431-GPS 2024-03-23 08:29:24 +11:00
Randy Mackay 133a5ff63c RC_Channel: add mount LRF enable aux function 2024-03-22 14:55:43 +09:00
Randy Mackay f9198b7e4e AP_Mount: add set_rangefinder_enable for ViewPro 2024-03-22 14:55:43 +09:00
Dr.-Ing. Amilcar do Carmo Lucas f0fc447aed AC_PrecLand: reduce code duplication, move common functionally to the base class 2024-03-20 19:33:14 +11:00
Randy Mackay 381fb42023 AR_WPNav: allow target position on track to stop advancing 2024-03-20 19:27:56 +11:00
Randy Mackay 158f7944fd AC_WPNav: allow target position on track to stop advancing 2024-03-20 19:27:56 +11:00
Tom Pittenger d3125fe8aa AP_Networking: change NET_ENABLED to NET_ENABLE 2024-03-20 19:08:31 +11:00
Tim Tuxworth 1941313201 AP_Networking: change NET_ENABLED to NET_ENABLE 2024-03-20 19:08:31 +11:00
Tim Tuxworth f4d19275fc Chibios: CubeRed - change NET_ENABLED to NET_ENABLE 2024-03-20 19:08:31 +11:00
Andy Piper d2b50edf12 AP_HAL_ChibiOS: Orqa F405 Pro 2024-03-20 19:04:21 +11:00
FoxSuzuran c53f55fd05 AP_Proximity: add RPLidarC1 support
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-03-20 18:58:57 +11:00
Pierre Kancir 2319a125d5 AP_Math: add missing include in vector2.h 2024-03-20 18:57:28 +11:00
Pierre Kancir 1762844686 AP_Math: remove unused include 2024-03-20 18:57:28 +11:00
Peter Barker 9120c1e324 AP_CANManager: correct includes
neither of these headers are used in this file
2024-03-20 18:45:52 +11:00
Peter Barker 5d5dd4630e AP_CANManager: correct filename for CANDriver_Params
This name doesn't contain objects for CANDriver - it contains objects owned by the CAN Manager which it then uses to configure the drivers.
2024-03-20 18:45:52 +11:00
Peter Barker f487a25e09 AP_GPS: move blended-GPS functions into AP_GPS_Blended
collects all of these together in preparation for making a backend
2024-03-20 18:27:28 +11:00
Randy Mackay 456c1bf39c AP_Mount: viewpro fix for swapped ahrs roll pitch 2024-03-20 17:59:48 +11:00
Andrew Tridgell d3a37d1357 HAL_ChibioOS: fixed FDCAN -> CAN labels
we use CAN1_RX not FDCAN1_RX in our MCU files
2024-03-20 14:26:23 +11:00
Alex P 4b082eb579 hwdef: added JHEMCUGF16F405 2024-03-19 19:53:03 +11:00
Wu 3fbf3368fc AP_HAL_ChibiOS: added RadiolinkPIX6 support 2024-03-19 19:50:42 +11:00
Peter Barker 2a010623b2 AP_GPS: allow forwards/backwards for DroneCAN type autoconfig
ArduPilot configures a connected DroneCAN GPS based on its GPS Type.

Given parameter name changes, ArduPilot must be able to configure both new and old AP_Periphs, and new AP_Periphs have to cope with being configured by old ArduPilots.
2024-03-19 19:50:12 +11:00
Peter Barker 94d5d92917 SITL: rename GPS_ to GPS1_ 2024-03-19 19:50:12 +11:00
Peter Barker bb83c43d1b AP_Scripting: rename GPS_ to GPS1_ 2024-03-19 19:50:12 +11:00
Peter Barker 0256cef7b9 AP_HAL: rename GPS_to GPS1_ 2024-03-19 19:50:12 +11:00
Peter Barker 1d4e0a784c AP_HAL_ChibiOS: rename GPS_ to GPS1_ 2024-03-19 19:50:12 +11:00
Peter Barker 9726e55d1c AP_GPS: rename GPS_ to GPS1_ 2024-03-19 19:50:12 +11:00
Peter Barker 84a81bebfe AP_ExternalAHRS: rename GPS_ to GPS1_ 2024-03-19 19:50:12 +11:00
Peter Barker 2624e38a62 AP_Beacon: rename GPS_ to GPS1_ 2024-03-19 19:50:12 +11:00
Peter Barker 50c36de6a4 AP_GPS: add GPS parameter conversion functions 2024-03-19 19:50:12 +11:00
Peter Barker 89bdb14916 Tools: adjust for GPS parameter renames 2024-03-19 19:50:12 +11:00