fromRobot static method

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

Get the VisionClient named name from the provided robot.

Implementation

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