yaapu
53ea385291
AP_MSP: removed unnecessary pure virtual methods
3 years ago
yaapu
e1b12fbee3
AP_MSP: use const structures and brace initialization where possible
...
saves ane extra 130bytes
3 years ago
yaapu
3bbf2c1f70
AP_MSP: removed unstructured writes to msp dst buffer
3 years ago
yaapu
188b7a50a9
AP_MSP: added a new backend for msp displayport aka canvas mode support
4 years ago
yaapu
05686f3c60
AP_MSP: fixed MSP RC out command
4 years ago
Michel Pastor
f4e2d462f7
AP_MSP: Telem_Backend: do not round vertical speed to 1m/s
4 years ago
Michel Pastor
0090d8b1c0
AP_MSP: Telem_Backend: fix temperature
4 years ago
Andy Piper
fcc8853244
AP_MSP: generalise ESC telemetry to allow data from other ESCs
...
enable with HAL_WITH_ESC_TELEM
4 years ago
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
4 years ago
yaapu
0f49058fbd
AP_MSP: fix for missing ACK on unsupported MSP messages
...
MSP requires all messages to be acknowledged even if unsupported
4 years ago
Andrew Tridgell
ae2a310b9c
AP_MSP: added airspeed support
4 years ago
yaapu
747bf73fec
AP_MSP: aligned opflow and rangefinder struct names to gps, baro and mag
4 years ago
yaapu
266b747ffc
AP_MSP: added support for MSP sensors
4 years ago
Andrew Tridgell
5f5c7735a3
AP_MSP: support AP_Periph MSP send
4 years ago
yaapu
51cec414cb
AP_MSP: fix capacity in battery state message
4 years ago
yaapu
52599a4aaf
AP_MSP: converted more messages to PACKED structs
4 years ago
yaapu
ed21f9a8c7
AP_MSP: fix separate enable of MSP opticalflow
4 years ago
Andrew Tridgell
7159283e33
AP_MSP: fixed valgrind warning with RTC msg
4 years ago
Andrew Tridgell
1488142d88
AP_MSP: fixed system ID
4 years ago
Andrew Tridgell
f330d5aa77
AP_MSP: run new MSP code through code style script
4 years ago
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
4 years ago
Andrew Tridgell
8319b7b6b7
AP_MSP: check for MSP rangefinder enable
4 years ago
yaapu
cfc7823af8
AP_MSP: fix missing memset for battery_state struct
4 years ago
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
4 years ago
Andrew Tridgell
c31bab2a85
AP_MSP: don't send zero length MSP packets
4 years ago
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
4 years ago
Andrew Tridgell
24a6cfe36c
AP_MSP: fill in millis for RTC
4 years ago
Andrew Tridgell
c4092ca57a
AP_MSP: don't send ESC_SENSOR_DATA when not enabled in build
4 years ago
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
4 years ago
yaapu
80eca32604
AP_MSP: added Multiwii Serial protocol (MSP) v1 and v2 support
4 years ago