concepts.dm.crowhat.manipulation_utils.path_generation_utils.calc_grasp_pose_from_current_object_pose_and_ee_pose#

calc_grasp_pose_from_current_object_pose_and_ee_pose(robot, object_id, ee_pos, ee_dir=(0., 0., -1.), ee_dir2=(1., 0., 0.))[source]#

Compute the grasp pose from the current object pose and the desired ee pose.

Parameters:
Return type:

Tuple[Tuple[float, float, float] | List[float] | ndarray, Tuple[float, float, float, float] | List[float] | ndarray]