pymavswarm
pymavswarm copied to clipboard
[BUG]: Runtime error when restarting connection
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:
- Establish a MAVLink connection using a
MavSwarminstance - Disconnect
- 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