Commit Graph

79 Commits

Author SHA1 Message Date
Andy Piper 702c76e885 AP_MSP: use highest ESC temp rather than motor temp 2024-08-21 17:10:45 +10:00
Peter Barker 03218b11ac AP_MSP: add and use AP_RSSI_ENABLED 2023-12-12 11:37:57 +11:00
Henry Wurzburg f9c9a09327 AP_MSP: update option metadata for clarity 2023-11-21 10:05:56 +11:00
Peter Barker 8f2c35d1e9 AP_MSP: add and use an AP_RTC_config.h 2023-10-11 19:17:27 +11:00
Peter Barker a8bb397eb7 AP_MSP: remove references to HAL_BUILD_AP_PERIPH
HAL_MSP_ENABLED is already explicitly off in chibios_hwdef.py for Periph
2023-08-09 17:39:49 +10:00
Peter Barker 3750a632e3 AP_MSP: use minimize.inc for HAL_MSP_ENABLED and dependencies 2023-06-14 17:44:13 +10:00
Peter Barker da36de3b80 AP_MSP: add and use AP_MSP_config.h 2023-05-09 10:56:13 +10:00
Peter Barker 48d6b34969 AP_MSP: add and use RC_Channel_config.h 2023-03-22 14:25:09 +11:00
yaapu f15d939823 AP_MSP: Increase DisplayPort UART TX buffer to prevent OSD corruption
Note: UART RX buffer has been decreased by the same amount to keep the memory footprint constant
2023-02-15 12:31:37 +11:00
Peter Barker 2ae1062ad5 AP_MSP: regularise compass defines
start to make compass backends look like backends from our other libraries
2022-11-15 16:44:38 +11:00
Peter Barker 6561398a46 AP_MSP: tidy AP_SerialManager.h includes 2022-11-08 09:49:19 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
yaapu 5cad520acf AP_MSP: move arming status to MSP telemetry base class 2022-09-21 17:18:53 +10:00
yaapu 25e0edc54b AP_OSD: New per screen PARAMs for OSD overlay resolution and font
This adds
 OSDn_TXT_RES to select SD/HD overlay resoloution
 OSDn_FONT_INDEX for font index selection

Right now support is limited to MSP Displayport OSD devices
2022-09-21 17:16:20 +10:00
Andrew Tridgell 286ea7499b AP_MSP: use BIT_IS_SET_64()
the bitmask is 64 bits wide
2022-09-06 10:49:50 +10:00
Peter Barker c95ff4b82b AP_MSP: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Pierre Kancir 0c9060753e AP_MSP: fix line ending 2022-06-08 08:16:42 +09:00
Peter Barker c8f1d2f023 AP_MSP: allow baro backends to be individually compiled out
filtering by define name is the most useful bit
2022-05-22 12:11:45 +10:00
Peter Barker 10ce2c7fff AP_MSP: allow backends to be compiled out 2022-05-10 09:02:51 +10:00
Peter Barker 92b44c118f AP_MSP: tidy includes 2022-05-03 09:14:58 +10:00
Peter Barker 7a0c3dc911 AP_MSP: include cleanups 2022-03-01 11:21:33 +11:00
Peter Barker 1c63aa1e4d AP_MSP: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
Joshua Henderson 1aacd7ba02 AP_MSP: add define AP_AIRSPEED_ENABLED 2022-01-19 18:21:32 +11:00
Shiv Tyagi 4b7b5a4d90 AP_OSD: fix code causing errors when OSD is compiled out
This fixes the code causing problem in compiling out OSD
2021-12-21 10:06:01 +11:00
Shiv Tyagi 1c33cfca5d AP_MSP: factor code in init method
This factors code in AP_MSP:init() and removes two of the three identical implementations for initialising backends
2021-10-28 20:37:24 +11:00
Peter Barker 4aa6c212d2 AP_MSP: move from HAL_NO_GCS to HAL_GCS_ENABLED 2021-09-22 21:37:00 +10:00
yaapu f33d6c4ec1 AP_MSP: fix rssi rounding issue 2021-09-22 17:09:50 +10:00
yaapu 9f0d9a5652 AP_MSP: added multi screen and stats support to DJI FPV OSD 2021-09-16 09:54:25 +10:00
yaapu 53ea385291 AP_MSP: removed unnecessary pure virtual methods 2021-09-15 17:28:56 +10:00
yaapu e1b12fbee3 AP_MSP: use const structures and brace initialization where possible
saves ane extra 130bytes
2021-09-15 17:28:56 +10:00
yaapu 3bbf2c1f70 AP_MSP: removed unstructured writes to msp dst buffer 2021-09-15 17:28:56 +10:00
Andrew Tridgell 1655beeca9 AP_MSP: fixed build without MSP
found by custom.ardupilot.org
2021-08-26 10:01:35 +10:00
yaapu 188b7a50a9 AP_MSP: added a new backend for msp displayport aka canvas mode support 2021-08-25 17:12:15 +10:00
yaapu 05686f3c60 AP_MSP: fixed MSP RC out command 2021-08-25 17:12:15 +10:00
Michel Pastor 765b71adb6 AP_OSD: rename BLH elements to ESC 2021-07-06 12:18:21 +10:00
Michel Pastor 61073de909 AP_MSP: fix DJI FPV temperature and RPM 2021-07-06 12:18:21 +10:00
Michel Pastor f4e2d462f7 AP_MSP: Telem_Backend: do not round vertical speed to 1m/s 2021-05-26 18:33:27 +10:00
Michel Pastor 0090d8b1c0 AP_MSP: Telem_Backend: fix temperature 2021-05-26 17:34:57 +10:00
Andy Piper fcc8853244 AP_MSP: generalise ESC telemetry to allow data from other ESCs
enable with HAL_WITH_ESC_TELEM
2021-05-12 17:01:11 +10:00
Andrew Tridgell 106162b0c5 AP_MSP: removed date/time from MSP
we don't want to use real dates here as that would mean we don't get
consistent builds. Being able to reproduce the exact build at a later
date is a valuable property of the code

The git hash should be enough
2021-02-13 19:24:48 +11:00
yaapu 89802ed6fc AP_MSP:Tools: use BATTERY_STATE.voltage_cv for cell voltage calculation to replicate actual DJI Goggles behaviour
This becomes apparent when pack voltage is above DJI's hard limit of 25.5v
with this fix the cell voltage is correct even for 12s packs just like on real hardware
2021-01-13 17:59:15 +11:00
yaapu 0f49058fbd AP_MSP: fix for missing ACK on unsupported MSP messages
MSP requires all messages to be acknowledged even if unsupported
2021-01-11 08:54:15 +11:00
yaapu 42b85c88ed AP_MSP: fix for multiple backends initialization 2020-12-09 19:40:22 +11:00
Andrew Tridgell ae2a310b9c AP_MSP: added airspeed support 2020-12-08 20:41:12 +11:00
giacomo892 75333dcd2f AP_Periph: support output of MSP airspeed sensor 2020-12-08 20:41:12 +11:00
Andrew Tridgell 4bfdd973a4 AP_MSP: fixed build warnings for MSP with AP_Periph 2020-09-15 09:40:03 +10:00
yaapu 747bf73fec AP_MSP: aligned opflow and rangefinder struct names to gps, baro and mag 2020-09-09 06:35:50 +10:00
yaapu 266b747ffc AP_MSP: added support for MSP sensors 2020-09-09 06:35:50 +10:00
Andrew Tridgell 9c24415f86 AP_Periph: support output of MSP sensor data 2020-09-09 06:35:50 +10:00
Andrew Tridgell 5f5c7735a3 AP_MSP: support AP_Periph MSP send 2020-09-09 06:35:50 +10:00