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
Andrew Tridgell
d6e3b5834a
AP_MSP: change font to fix arrows and added --font and --list-fonts
2020-09-07 11:59:20 +10:00
Andrew Tridgell
ad6a1af2fc
AP_MSP: cleanup after control-C
2020-09-07 11:59:20 +10:00
Andrew Tridgell
c83fd8edf2
AP_MSP: fixed use of float in pygame for py3
2020-09-07 11:59:20 +10:00
yaapu
65b70dddb2
AP_MSP:msposd.py added a DJI look and feel to some items
2020-09-07 11:59:20 +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
yaapu
67ed957bf0
AP_MSP: removed unused parameters (using OSD_* instead)
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
87cf7b58ae
AP_MSP: added sample OSD enable params
2020-09-02 05:56:46 +10:00
Andrew Tridgell
5358c1e476
AP_MSP: handle utf-8 in string display
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
4a8290508d
AP_MSP:Tools: added more OSD items and messages
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
27acdf1800
AP_MSP: fixed values for MSP_OSD_NCELLS param docs
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
5dba8ab9c8
AP_MSP: convert more MSP msg parsing to new system
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
05f4bf0b32
AP_MSP: fixed viewer for py2 and py3
2020-09-02 05:56:46 +10:00
Andrew Tridgell
5a7f81b5c3
AP_MSP: use more compact message format for most messages
2020-09-02 05:56:46 +10:00