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