maple.adapters.base.Adapter.invert_gripper_action

Adapter.invert_gripper_action(action: ndarray) ndarray

Invert the gripper value in the action.

Parameters:

action – A numpy array containing the action.

Returns:

Action array with inverted gripper value.