fromRobot static method
- RobotClient robot,
- String name
Get the Sensor named name
from the provided robot.
For more information, see Sensor component.
Implementation
static Sensor fromRobot(RobotClient robot, String name) {
return robot.getResource(Sensor.getResourceName(name));
}