fromRobot static method

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

Get the Servo named name from the provided robot.

For more information, see Servo component.

Implementation

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