fromRobot static method

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

Get the Gantry named name from the provided robot.

For more information, see Gantry component.

Implementation

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