I couldn't connect to the ROV after resuming the thread

Hi @robotmark,

This is more of a general Python question than one specific to ArduSub/pymavlink usage. You haven’t explained what’s actually happening here when you try to pause / resume the thread, and you’ve posted your code as an image so it’s not easy for us to try to test your code ourselves (see the formatting section of the How to Use the Blue Robotics Forums post).

This stackoverflow response was the first result from an online search of “python pause thread”, and takes an alternative approach of passing in the event and function to run rather than subclassing threading.Thread and creating the event inside it. It may be worth trying that approach since it seems to have worked for others there (although it’s possible something else is causing your code not to work).


If you’d like more help then please provide:

  1. System information (device you’re running the code on, Python version, library versions as relevant)
  2. Minimal working example in a code block or repository
  3. The full output you’re getting when you run your program (e.g. printed results, any error messages, etc) in a code block