Open gurselturkeri opened 1 year ago
Hello @gurselturkeri ,
Can you paste your URDF file?
I'm having the same issue.
here is my urdf file:
<?xml version="1.0"?>
@StrangerChamber In ros2 humble version it works clearly.
I faced the same issue running a urdf from ROS here: https://github.com/ros-industrial/abb/tree/kinetic-devel on webots. webots implement ikpy library to calculate de inverse kinematics.
Heavy industrial robots usually a piston to support 2 axis heavy loads an that why it have invinite revolute ROS called "continuous" joint type.
It looks like there is not definition for continuous joint type on URDF.py ` joint_type = joint.attrib["type"] if joint_type not in ["revolute", "prismatic", "fixed"]: raise ValueError("Unknown joint type: {}".format(joint_type))
axis = joint.find("axis")
if axis is not None:
if joint_type == "revolute":
rotation = [float(x) for x in axis.attrib["xyz"].split()]
translation = None
elif joint_type == "prismatic":
rotation = None
translation = [float(x) for x in axis.attrib["xyz"].split()]
elif joint_type == "fixed":
warnings.warn(
"Joint {} is of type: fixed, but has an 'axis' attribute defined. This is not in the URDF spec and thus this axis is ignored".format(
joint.attrib["name"]
)
)
else:
raise ValueError(
"Unknown joint type with an axis: {}, {}".format(joint_type, axis)
)
` some definition from ROS here http://wiki.ros.org/urdf/XML/joint
I think you can replace convolute with revolute, and add some limits on to the revolute, and it should work. I am testing this theory now.
Having the same issue -- any update on workaround @mhortman ?
well doing that got it to parse, but my urdf file doesn't seem to send my arm to the right xyz coordinates, so not 100% sure.
Hello everyone,
I will add this feature asap, in the stylé of @mhortman !
@Phylliade what is the idea to add support for continuous joint? I changed continuous to convolute to make ik work. But I think they are not the same mechanism. Still want to switch to continuous joint.
Hi, I get an error when I run my python script.