Hi, I want to rotate my robot 90 degrees with the up-axis.
I expected that the robot would still work properly, but It seems there is a frame mismatch.
def set_robot(self) -> None:
gripper = ParallelGripper(
end_effector_prim_path="/World/ur5e_gripper/robotiq_85_left_finger_tip_link",
joint_prim_names=["robotiq_85_left_finger_tip_joint", "robotiq_85_right_finger_tip_joint"],
joint_opened_positions=np.array([0.1, 0.1]),
joint_closed_positions=np.array([0.0, 0.0]),
action_deltas=np.array([0.25, 0.25]))
manipulator = SingleManipulator(prim_path="/World/ur5e_gripper",
name="ur5e",
end_effector_prim_name="End_Effector",
gripper=gripper,
position=np.array([0, 0, 0]),
orientation=np.array([0.7071068, 0, 0, 0.7071068])) # Here I changed!
joints_default_positions = np.zeros(12)
manipulator.set_joints_default_state(positions=joints_default_positions)
return manipulator
I would appreciate it if you give me some advice which is the simplest & best way to handle this.