I have a companion computer that act also as a gimbal device and is connected to the autopilot through a serial connection.
I have to send on the serial connection two different heartbeats with two different components ID one for the companion computer and one for the gimbal device.
If I understood correctly as today is not possible to do this because every instance of MAVSDK is associated with one source component ID ad it emits a single heartbeat with his component ID.
My idea is to patch the library in order to make the connections sharable between different MAVSDK instances, I checked and it doesn’t look too difficult. Do you think is the correct way or there is another method to share the same connection among different components within the same application?