fromRobot static method

Gripper fromRobot(
  1. RobotClient robot,
  2. String name
)

Get the Gripper named name from the provided robot.

For more information, see Gripper component.

Implementation

static Gripper fromRobot(RobotClient robot, String name) {
  return robot.getResource(Gripper.getResourceName(name));
}