Commit Graph

34 Commits

Author SHA1 Message Date
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
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 449883c7f1 AP_MSP: added python MSP FPV viewer 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