I’m wondering, how I could improve my Parrot client script’s reaction to connectivity losses with the drone.
drone.connect()
looks like a synchronous call, which makes sense. If that fails, I can repeat.
I tested a bit with the simulator, terminating the simulator while being connected. All I saw was an error log entry
2022-07-11 09:53:52,068 [ERROR] olympe.media.ANAFI-0000000 - wrapper - Connection is already closed.
Is there a message associated with this trace, so that I could try to re-establish the connection? What is the recommended behaviour to manage these situations?
TIA