inav
                                
                                
                                
                                    inav copied to clipboard
                            
                            
                            
                        mavlink: send RC_CHANNELS instead of RC_CHANNELS_RAW to support 18 channels
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:

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
@DzikuVx Can this be included in 7.1? Actually it should have been implemented with Mavlink 2 introduction into inav.
Please please please release this ASAP
Will this ever be merged?