JeroenDM / acrobotics

Robotics software tools in python to test motion planning ideas.
MIT License
2 stars 1 forks source link

AttributeError: module 'acrobotics' has no attribute 'Kuka' #11

Open michael-chikamchun opened 3 years ago

michael-chikamchun commented 3 years ago

System: Windows WSL AttributeError: module 'acrobotics' has no attribute 'Kuka'.

Hi, I'm getting this error. I installed acrobotics through pip on wsl. Any ideas how to fix this? Thanks

JeroenDM commented 3 years ago

How did you import the library?

Normally this should always work:

from acrobotics.robot_examples import Kuka

robot = Kuka()

and I recently changed the __init__.py file so this should also work: (I'm not sure it works in a the pip installed version already)

import acrobotics

robot = acrobotics.Kuka()

But I did not test it on WSL.