fromRobot static method

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

Get the Arm named name from the provided robot.

For more information, see Arm component.

Implementation

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