What could be the easiest way to show the RC switch state on the OSD (and not do anything else with this switch, just to show)?
To display a variable in OSD that changes depending on the switch state.
(In Betaflight, we used the “RC Channels” element for this.)
Because this is a small part of a bigger integration that already works. It fully works on other systems (Beta, Inav) and partially on Ardupilot (everything without this small part).
Of course, if I need to connect some hardware to ArduPilot, and don’t need OSD, I’ll prefer MAVLink. But, to build one more link for ArduPilot only, when other systems already work without it, will be strange.
If it’s stupid and it works, it’s still stupid and you’re lucky.
Since Ardupilot supports proper telemetry there never was need to send PWM values or alike over video because we have orders of magnitude more efficient methods to do so.
PS all of previously mentioned methods can be used with other flight stack except instead of using Lua you would modify code if applicable.