I have been looking for a way to have Mission Planner do an automatic failover whenever it doesn't receive a certain number of heartbeats from a given input.
For example: I want to connect using COM3: at 57600 baud, and if the channel no longer receives heartbeats, I want it to automatically disconnect from COM3 and connect using another method - without reloading parameters - and vice versa. I actually want to switch between serial/usb and tcp (device name and port number) connectivity.
I thought of using a Python script to do this, but I don't find any reference regarding the initial CONNECT parameters.
Is this possible? If so, can someone point me to where I can get started?
Replies