Commit Graph

32468 Commits

Author SHA1 Message Date
Peter Barker b3b46f7be6 AP_RCProtocol: add add use AP_RCPROTOCOL_SRXL2_ENABLED 2023-04-26 22:54:33 +10:00
Peter Barker feaed97601 GCS_MAVLink: deprecate handling of MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES
AUTOPILOT_VERSION - the message this returns - can be requested with MAV_CMD_REQUEST_MESSAGE
2023-04-26 20:34:42 +10:00
Peter Barker d0b96d4cd9 GCS_MAVLink: deprecate handling of AUTOPILOT_VERSION_REQUEST
This can be done equivalently with MAV_CMD_REQUEST_MESSAGE
2023-04-26 20:34:42 +10:00
bugobliterator ac8a447bbf AP_HAL_ChibiOS: add asserts to AnalogIn 2023-04-26 18:04:00 +10:00
bugobliterator 240556acc5 AP_HAL_ChibiOS: ignore the settings for ANALOG_INPUT_NONE 2023-04-26 18:04:00 +10:00
bugobliterator 09c6500ac7 bootloaders: add CubeRed bootloaders 2023-04-26 18:04:00 +10:00
bugobliterator 91c0bda4da AP_HAL_ChibiOS: add hwdef for CubeRedSecondary 2023-04-26 18:04:00 +10:00
bugobliterator 9e6c9022a3 AP_HAL_ChibiOS: add support for forwarding USB COM2 to Secondary controller 2023-04-26 18:04:00 +10:00
bugobliterator 2ac7dcc764 AP_HAL_ChibiOS: use HAL_SERIAL0_BAUD_DEFAULT when setting up serial(0) 2023-04-26 18:04:00 +10:00
bugobliterator cc02ad9224 AP_HAL: add HAL_FORWARD_OTG2_SERIAL define 2023-04-26 18:04:00 +10:00
bugobliterator 918a7355c5 AP_HAL_ChibiOS: add CubeRedPrimary hwdef 2023-04-26 18:04:00 +10:00
bugobliterator 9663b3d409 AP_HAL: add __EXTFLASHFUNC__ define 2023-04-26 18:04:00 +10:00
bugobliterator 0343b789e6 AP_HAL_ChibiOS: add support for mixed internal and external flash 2023-04-26 18:04:00 +10:00
bugobliterator 626fd9e77f AP_HAL_ChibiOS: add support for marking ADC pins with identifier 2023-04-26 18:04:00 +10:00
bugobliterator 726dcda24f AP_HAL_ChibiOS: add support for using ADC2 and ADC3 on H7 2023-04-26 18:04:00 +10:00
Andy Piper 6248a657c8 AP_Motors: allow use of raw voltage for battery compensation driven by MOT_OPTIONS 2023-04-26 17:04:45 +10:00
Peter Barker b471f9bfac AP_ExternalAHRS: create and use backend defines for AP_ExternalAHRS 2023-04-26 14:09:25 +10:00
bugobliterator 0c728972ff AP_DroneCAN: move to using CanardTxTransfer for sending data 2023-04-26 14:08:45 +10:00
Ryan Friedman 47e3d1af02 AP_Airspeed: Improve ARSPD_WIND_MAX behavior by handling 3D speed
* The previous method negated earth-frame vertical velocity
* In a steep dive on a plane, the 2D ground speed assumption of speed breaks down
* Use 3D speed always
* If only a 2D fix is avialable, then vertical velocity should be 0

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-26 14:08:01 +10:00
Ryan Friedman d6569d6f79 AP_GPS: Use SI unit abbreviation
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-26 14:08:01 +10:00
Randy Mackay bdb3618de7 GCS_MAVLink: support requests for gimbal-manager-information 2023-04-25 15:07:35 +10:00
Randy Mackay ddbc52d2db AP_Mount: support gimbal-manager-information requests 2023-04-25 15:07:35 +10:00
Andrew Tridgell e4ce423c46 hwdef: DMA is off on I2C on F7 and H7 by default
no need to have it in hwdef.dat
2023-04-25 14:19:09 +10:00
Andrew Tridgell 64cd58c21a ChibiOS: disable DMA on I2C on F7 and H7 by default
this was already done on many (most?) boards, and greatly reduces DMA
sharing which improves performance of UARTs. This changes the default
to no DMA on I2C
2023-04-25 14:19:09 +10:00
pedro-fuoco 171e09d28c AP_DDS: Add local pose publisher 2023-04-25 14:18:54 +10:00
Andrew Tridgell 5024261e2e HAL_ChibiOS: fixed hwdef DMA resolver dependency on python2/python3
we need to use sorted keys in dictionaries to ensure we end up with
the same DMA mapping when using py2 and py3

fixes #15534
2023-04-25 11:30:56 +10:00
Henry Wurzburg d6e696e085 AP_Notify: fix incorrect buzzer pin type to stop always instantiating 2023-04-25 10:29:10 +10:00
muramura b05cffeaae AC_WPNav: Initialize near use 2023-04-25 10:13:55 +10:00
Pradeep e7c78f8cd4 AP_EFI : Hirth type id is reserved
Hirth type-id = 8
WIP
2023-04-24 19:23:19 +10:00
Asif Khan 47ad614e8e AP_Mount: Add MNTx_SYSID_DFLT param to easily target another vehicle 2023-04-24 13:34:20 +10:00
Asif Khan 3d11ec7b5c AP_Mount: Add SysID-Target entry to MNTx_DEFLT_MODE param description 2023-04-24 13:34:20 +10:00
Randy Mackay 8d8d11a139 AC_WPNav: wpnav speed param check fixed 2023-04-24 13:29:05 +10:00
Peter Barker dfcadfc618 AP_Notify: add and use AP_NOTIFY_TONEALARM_ENABLED 2023-04-23 16:24:02 +10:00
Peter Barker 6933000395 AP_HAL_ChibiOS: add and use AP_NOTIFY_TONEALARM_ENABLED 2023-04-23 16:24:02 +10:00
Henry Wurzburg 11def9b958 AP_Notify: rename/remove HAL_BUZZER_ON to DEFAULT_BUZZ_ON_LVL 2023-04-23 11:19:50 +10:00
Henry Wurzburg efd0937568 AP_HAL_ChibiOS: rename/remove HAL_BUZZER_ON to DEFAULT_BUZZ_ON_LVL 2023-04-23 11:19:50 +10:00
Peter Barker dafc24b7a1 AP_HAL_ChibiOS: tidy external baro probing 2023-04-23 08:28:55 +10:00
Peter Barker 100b8d3915 AP_Baro: tidy external baro probing 2023-04-23 08:28:55 +10:00
Peter Barker d3ce0356b8 hwdef: remove uart7 from thepeach-r1 bootloader to get it compiling
out of space otherwise
2023-04-22 13:58:02 +10:00
Peter Barker e37b3f9fcd hwdef: remove uart7 from thepeach-k1 bootloader to get it compiling
out of space otherwise
2023-04-22 13:58:02 +10:00
Peter Barker 587f64b784 hwdef: remove uart7 from PixSurveyA1-IND bootloader to get it compiling
out of space otherwise
2023-04-22 13:58:02 +10:00
Peter Barker e3ee5ca822 hwdef: remove uart7 from PixPilot-v3 bootloader to get it compiling
out of space otherwise
2023-04-22 13:58:02 +10:00
Henry Wurzburg 3362f752cb AP_Notify: remove unused HAL_BUZZER_OFF defines 2023-04-22 13:51:09 +10:00
Henry Wurzburg be94015dba AP_HAL_ChibiOS: remove unused HAL_BUZZER_OFF defines 2023-04-22 13:51:09 +10:00
Ryan Friedman bb6c872138 AP_DDS: Publish NavSatFix as soon as its available
* Removes the hard coded timing, now it's driven by the GPS update times
* Changed the function signature to return true if the data topic has been changed

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-22 11:04:49 +10:00
Ryan Friedman edde5d2e48 AP_DDS: Add developer recommended steps for pre-commit
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-22 11:03:04 +10:00
Ryan Friedman 7ff2a9eec3 AP_DDS: Use mirror of DDS Gen
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-22 08:28:58 +10:00
Michael du Breuil a9d696752d GCS_MAVLink: Factor accel cal work out to INS library 2023-04-21 21:33:16 +10:00
Michael du Breuil b76d6d827f AP_InertialSensor: Factor accel cal in from GCS_MAVLink 2023-04-21 21:33:16 +10:00
Peter Barker 15ec9f6f82 GCS_MAVLink: allow Copter to emit MISSION_STATE_PAUSED when paused in auto 2023-04-21 09:49:55 +10:00