maple.adapters.base.Adapter.normalize_gripper_action

Adapter.normalize_gripper_action(action: ndarray, binarize: bool = True) ndarray

Normalize the gripper between 0 and 1.

Parameters:
  • action – A numpy array containing the action.

  • binarize – If the gripper action is binary value (0/1).

Returns:

Action array with normalized gripper value.