Hi @toni.sm !
I’m using the skrl you wrote really well.
In particular, I am testing by customizing some based on your iiwa reaching task.
I changed a part of def pre_physics_step of reaching_iiwa_omniverse_isaacgym_env.py as follows and added target orientation.
def pre_physics_step(self, actions) -> None:
...
robot_dof_pos = self._robots.get_joint_positions(clone=False)
target_pos, target_rot = self._targets.get_world_poses(clone=False)
end_effector_pos, end_effector_rot = self._end_effectors.get_world_poses(clone=False)
...
if self._control_space == "cartesian":
goal_position = target_pos
goal_orientation = target_rot
delta_dof_pos = omniverse_isaacgym_utils.ik(jacobian_end_effector=self.jacobians[:, 7 - 1, :, :7], # iiwa_link_7 index: 7
current_position=end_effector_pos,
current_orientation=end_effector_rot,
goal_position=goal_position,
goal_orientation=goal_orientation)
targets = robot_dof_pos + delta_dof_pos
My questions in this regard are:
1. DLS IK convergence failure
The robot’s end-effector goes near the target, but does not decrease below the error threshold (<0.01).
2. Orientation randomization
As a result of target orientation randomization evaluation, there was almost no convergence. I wondered if it was a joint limit problem with the robot, so I released all joint limits (-540 to 540) and evaluated it, but the results were similar.
Can you share any experiences with these issues?
Thank you in advance !
