fromRobot static method
- RobotClient robot,
- String name
Get the VisionClient named name
from the provided robot.
final myVisionService = VisionService.fromRobot(myRobotClient, "my_vision_service");
Implementation
static VisionClient fromRobot(RobotClient robot, String name) {
return robot.getResource(VisionClient.getResourceName(name));
}