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
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