inav icon indicating copy to clipboard operation
inav copied to clipboard

mavlink: send RC_CHANNELS instead of RC_CHANNELS_RAW to support 18 channels

Open RomanLut opened this issue 3 years ago • 3 comments

Mavlink RC and mavlink protocol v2 has been implemented in INAV :heavy_check_mark: Mavlink RC supports 16 channels with Mavlink v2 and 8 channels with Mavlink v1 :heavy_check_mark: FC still sends back RC_CHANNELS_RAW message which supports 8 channels only :x:

This PR sends RC_CHANNELS instead of RC_CHANNELS_RAW if Mavlink v2 protocol is selected to support 18 channels and allow telemetry viewer app https://github.com/RomanLut/android-taranis-smartport-telemetry to show state of 18 channels instead of 8:

image

Existing functionality with Mavlink v1 is unchanged.

References: https://mavlink.io/en/messages/common.html#RC_CHANNELS_OVERRIDE https://mavlink.io/en/messages/common.html#RC_CHANNELS_RAW https://mavlink.io/en/messages/common.html#RC_CHANNELS

RomanLut avatar Aug 02 '22 08:08 RomanLut

@DzikuVx Can this be included in 7.1? Actually it should have been implemented with Mavlink 2 introduction into inav.

RomanLut avatar Nov 03 '23 14:11 RomanLut

Please please please release this ASAP

mvmn avatar Dec 14 '23 10:12 mvmn

Will this ever be merged?

mvmn avatar Mar 24 '24 22:03 mvmn