Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'roboticstoolbox.backends.Swift' No module named 'swift.SwiftRoute' #221

Closed
oridong opened this issue Apr 21, 2021 · 2 comments

Comments

@oridong
Copy link

oridong commented Apr 21, 2021

when

from roboticstoolbox.backends.Swift import Swift  # instantiate 3D browser-based visualizer
backend = Swift()
backend.launch()            # activate it
backend.add(robot)          # add robot to the 3D scene
for qk in qt.q:             # for each joint configuration on trajectory
      robot.q = qk          # update the robot state
      backend.step()        # update visualization

No module named 'roboticstoolbox.backends.Swift'

when I use
from roboticstoolbox.backends.swift import Swift # instantiate 3D browser-based visualizer1

site-packages\roboticstoolbox_python-0.9.1-py3.8-win-amd64.egg\roboticstoolbox\backends\swift\__init__.py", line 1, in <module>
    from swift.SwiftRoute import SwiftServer, SwiftSocket, start_servers
ModuleNotFoundError: No module named 'swift.SwiftRoute'
@asmwarrior
Copy link

I think this is already reported, and now it is fixed in the github version.

See here:

jhavl/swift#4 (comment)

@oridong
Copy link
Author

oridong commented Apr 21, 2021

I think this is already reported, and now it is fixed in the github version.

See here:

jhavl/swift#4 (comment)

I got it form git clone

@oridong oridong closed this as completed Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants