petercorke / robotics-toolbox-python

Robotics Toolbox for Python
MIT License
2.1k stars 434 forks source link

Could not connect to swift simulator #421

Open WilliamBellemans opened 7 months ago

WilliamBellemans commented 7 months ago

Describe the bug I installed robotics toolbox from git, and I also installed Swift from git. If I try to use env.launch(), it says "Could not connect to Swift simulator"

Version information

I got the latest version from GitHub.

To Reproduce Steps to reproduce the behavior: image

Could not connect to the Swift simulator

Traceback (most recent call last):
  File "/home/william/Robotics/test.py", line 7, in <module>
    env.launch()
  File "/home/william/swift/swift/Swift.py", line 172, in launch
    self.socket, self.server = start_servers(
  File "/home/william/swift/swift/SwiftRoute.py", line 166, in start_servers
    inq.get(timeout=10)
  File "/usr/lib/python3.10/queue.py", line 179, in get
    raise Empty
_queue.Empty

Environment (please complete the following information):