robotics-toolbox-python icon indicating copy to clipboard operation
robotics-toolbox-python copied to clipboard

Could not connect to swift simulator

Open WilliamBellemans opened this issue 1 year ago • 1 comments

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):

  • Ubuntu via WSL.
  • Python 3.10

WilliamBellemans avatar Mar 06 '24 20:03 WilliamBellemans

Had the same issue with Ubuntu via WSL - downloading a browser in Ubuntu fixed the issue for me:

sudo apt install firefox

rovalder avatar Feb 12 '25 12:02 rovalder