fromRobot static method
- RobotClient robot,
- String name
Get the Gantry named name
from the provided robot.
final myGantry = Gantry.fromRobot(myRobotClient, "my_gantry");
For more information, see Gantry component.
Implementation
static Gantry fromRobot(RobotClient robot, String name) {
return robot.getResource(Gantry.getResourceName(name));
}