Package lejos.robotics
Interface Encoder
-
- All Known Subinterfaces:
EncoderMotor,LinearActuator,RegulatedMotor,Tachometer,TachoMotorPort
- All Known Implementing Classes:
BaseRegulatedMotor,EV3LargeRegulatedMotor,EV3MediumRegulatedMotor,LnrActrFirgelliNXT,MindsensorsGlideWheelMRegulatedMotor,MindsensorsGlideWheelXLRegulatedMotor,MirrorMotor,MMXMotor,MMXRegulatedMotor,NXTRegulatedMotor,RCXRotationSensor,RemoteMotorPort,RemoteNXTMotorPort,RemoteRequestMotorPort,RemoteRequestRegulatedMotor,TetrixEncoderMotor,TetrixRegulatedMotor,UnregulatedMotor
public interface EncoderAbstraction for the tachometer built into NXT motors.- Author:
- Lawrie Griffiths
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetTachoCount()Returns the tachometer count.voidresetTachoCount()Reset the tachometer count.
-