Commit Graph
14 Commits
Author SHA1 Message Date
Andy Piper 165bbf9ca2 AP_MSP: add VTX control over MSP
Implement betaflight-style VTX control over MSP so an MSP VTX (or an OSD
acting as one) can be configured from ArduPilot:

- reply to MSP_VTX_CONFIG and push config as MSP v2 native
- apply frequency changes from MSP_SET_VTX_CONFIG
- learn the power table from MSP_SET_VTXTABLE_POWERLEVEL and decode it
  as dBm
- report the configured pitmode in MSP_VTX_CONFIG
- report the FC variant matching the active OSD symbol set
- option to hold the VTX at high power while disarmed

Process outgoing packets so config can be pushed unsolicited, and guard
the DisplayPort scheduler when VideoTX is disabled. The whole path is
gated on AP_MSP_VIDEOTX_ENABLED.
2026-07-29 17:16:29 +10:00
Henry Wurzburgandyaapu 9390ba05e7 AP_MSP: add support for INAV multi page font tables
Co-authored-by:    yaapu <alex.apostoli@gmail.com>
2025-04-01 10:59:04 +11:00
Andrew Tridgell 5ca4bdbd8d AP_MSP: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Henry Wurzburg f9c9a09327 AP_MSP: update option metadata for clarity 2023-11-21 10:05:56 +11:00
Peter Barker 92b44c118f AP_MSP: tidy includes 2022-05-03 09:14:58 +10: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
yaapu 9f0d9a5652 AP_MSP: added multi screen and stats support to DJI FPV OSD 2021-09-16 09:54:25 +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
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
yaapu 42b85c88ed AP_MSP: fix for multiple backends initialization 2020-12-09 19:40:22 +11: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 27acdf1800 AP_MSP: fixed values for MSP_OSD_NCELLS param docs 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