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