Closed Hermanye996 closed 8 months ago
<axis xyz="0.00597 0 0.99998"/>
elif joint_type == "prismatic":
if joint_axis[0] == 1:
joint_type = JointType.X_PRISM
if joint_axis[1] == 1:
joint_type = JointType.Y_PRISM
if joint_axis[2] == 1:
joint_type = JointType.Z_PRISM
if joint_axis[0] == -1:
joint_type = JointType.X_PRISM_NEG
if joint_axis[1] == -1:
joint_type = JointType.Y_PRISM_NEG
if joint_axis[2] == -1:
joint_type = JointType.Z_PRISM_NEG
my axis is not 1 or -1, that's it.
cuRobo does not support arbitrary axis. It should be 1 or -1.
Thanks for the helpful advice. @balakumar-s
From the urdf, it looks like you could approximate the axis to 1 since it's very close numerically.
Yeah, that's what I have done, thanks a lot.
@balakumar-s Dear Bro. How can I deal with the situation that the axis must be arbitrary?
Unknown joint type prismatic, error occurred at
cuda_robot_generator.py/CudaRobotGenerator._build_kinematics_tensors()
, it could not recognize my prismatic gripper, but prismatic are in the JointType.