pymavswarm icon indicating copy to clipboard operation
pymavswarm copied to clipboard

[BUG]: Runtime error when restarting connection

Open evan-palmer opened this issue 3 years ago • 0 comments
trafficstars

Describe the bug

When the MAVLink connection is made, disconnected, and then reconnected, a runtime error is raised preventing restart.

To Reproduce

Steps to reproduce the behavior:

  1. Establish a MAVLink connection using a MavSwarm instance
  2. Disconnect
  3. Attempt to reconnect

Expected behavior

MavSwarm should be able to re-establish a connection

Stack Traceback

RuntimeError: threads can only be started once

Project Version

v1.2.0

Desktop

Personal desktop computer running Ubuntu 22.04 natively

Additional context

N/A

evan-palmer avatar Sep 15 '22 21:09 evan-palmer