Peter Barker
03218b11ac
AP_MSP: add and use AP_RSSI_ENABLED
2023-12-12 11:37:57 +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
48d6b34969
AP_MSP: add and use RC_Channel_config.h
2023-03-22 14:25:09 +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
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
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
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
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
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
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
Andrew Tridgell
ae2a310b9c
AP_MSP: added airspeed support
2020-12-08 20:41:12 +11: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
5f5c7735a3
AP_MSP: support AP_Periph MSP send
2020-09-09 06:35:50 +10:00
yaapu
51cec414cb
AP_MSP: fix capacity in battery state message
2020-09-07 11:59:20 +10:00
yaapu
52599a4aaf
AP_MSP: converted more messages to PACKED structs
2020-09-07 11:59:20 +10:00
yaapu
ed21f9a8c7
AP_MSP: fix separate enable of MSP opticalflow
2020-09-07 11:59:20 +10:00
Andrew Tridgell
7159283e33
AP_MSP: fixed valgrind warning with RTC msg
2020-09-07 11:59:20 +10:00
Andrew Tridgell
1488142d88
AP_MSP: fixed system ID
2020-09-02 05:56:46 +10:00
Andrew Tridgell
f330d5aa77
AP_MSP: run new MSP code through code style script
2020-09-02 05:56:46 +10:00
Andrew Tridgell
d8ed210b98
AP_MSP: cleanup namespace handling
...
using "using namespace MSP" in headers is a bad idea as it spreads to
lots of cpp via includes. It is fine in a cpp file
2020-09-02 05:56:46 +10:00
Andrew Tridgell
8319b7b6b7
AP_MSP: check for MSP rangefinder enable
2020-09-02 05:56:46 +10:00
yaapu
cfc7823af8
AP_MSP: fix missing memset for battery_state struct
2020-09-02 05:56:46 +10:00
Andrew Tridgell
d9da06b9e4
AP_MSP: fixed constrains in analog and battery MSP msgs
...
need to use constrain_int32() for values that give unsigned 16 bit
values
2020-09-02 05:56:46 +10:00
Andrew Tridgell
c31bab2a85
AP_MSP: don't send zero length MSP packets
2020-09-02 05:56:46 +10:00
Andrew Tridgell
f033aaf5bd
AP_MSP: fixed ESC telem data send
...
only send if we have telemetry data, and ensure data lines up with
motor numbers
2020-09-02 05:56:46 +10:00
Andrew Tridgell
24a6cfe36c
AP_MSP: fill in millis for RTC
2020-09-02 05:56:46 +10:00
Andrew Tridgell
c4092ca57a
AP_MSP: don't send ESC_SENSOR_DATA when not enabled in build
2020-09-02 05:56:46 +10:00
Andrew Tridgell
cea2eadd16
AP_MSP: make MSP packing smaller and more efficient
...
this changes two MSP items (GPS and home pos) to use packed structures
insteaf of individual sbuf writes. This makes for faster and smaller
code
2020-09-02 05:56:46 +10:00
yaapu
80eca32604
AP_MSP: added Multiwii Serial protocol (MSP) v1 and v2 support
2020-09-02 05:56:46 +10:00