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

module 'ikpy' has no attribute 'chain' #12

Open
eEthan1-chen opened this issue Jun 13, 2022 · 2 comments
Open

module 'ikpy' has no attribute 'chain' #12

eEthan1-chen opened this issue Jun 13, 2022 · 2 comments

Comments

@eEthan1-chen
Copy link

When I run example.py, the following error is generated.I tried to lower the ikpy version to 3.1 and still got the error.

Traceback (most recent call last):
File "C:/Users/eEthan1/PycharmProjects/RL_UR5/example.py", line 4, in
controller = MJ_Controller()
File "C:\Users\eEthan1\PycharmProjects\RL_UR5\gym_grasper\controller\MujocoController.py", line 47, in init
self.ee_chain = ikpy.chain.Chain.from_urdf_file(path + "/UR5+gripper/ur5_gripper.urdf")
AttributeError: module 'ikpy' has no attribute 'chain'

@eEthan1-chen
Copy link
Author

i have changed my ikpy version into 3.1 ,but it still dont work

@Cyqxxn
Copy link

Cyqxxn commented Jun 30, 2022

I changed line 13 in MuJocoController.py, from 'import ikpy" to 'import ikpy.chain import ikpy.inverse_kinematics import ikpy.link', and it worked.

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