Phylliade / ikpy

An Inverse Kinematics library aiming performance and modularity

Home Page:http://phylliade.github.io/ikpy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError: Unknown joint type: continuous

gurselturkeri opened this issue · comments

Hi, I get an error when I run my python script.

Traceback (most recent call last):
  File "/home/gursel/robotics_ws/src/robotic_arm/2_inverse_kinematics_solution.py", line 72, in <module>
    main()
  File "/home/gursel/robotics_ws/src/robotic_arm/2_inverse_kinematics_solution.py", line 64, in main
    joint_trajectory_object = Trajectory_publisher()
  File "/home/gursel/robotics_ws/src/robotic_arm/2_inverse_kinematics_solution.py", line 28, in __init__
    self.robot_initialize(urdf_file)
  File "/home/gursel/robotics_ws/src/robotic_arm/2_inverse_kinematics_solution.py", line 43, in robot_initialize
    self.kuka_robot = ikpy.chain.Chain.from_urdf_file(urdf_file)
  File "/home/gursel/.local/lib/python3.10/site-packages/ikpy/chain.py", line 324, in from_urdf_file
    links = URDF.get_urdf_parameters(urdf_file, base_elements=base_elements, last_link_vector=last_link_vector, base_element_type=base_element_type, symbolic=symbolic)
  File "/home/gursel/.local/lib/python3.10/site-packages/ikpy/urdf/URDF.py", line 250, in get_urdf_parameters
    raise ValueError("Unknown joint type: {}".format(joint_type))
ValueError: Unknown joint type: continuous

Hello @gurselturkeri ,

Can you paste your URDF file?

I'm having the same issue.

here is my urdf file:

@StrangerChamber In ros2 humble version it works clearly.