lejos.robotics
Interface Tachometer

All Superinterfaces:
Encoder
All Known Subinterfaces:
RegulatedMotor
All Known Implementing Classes:
MirrorMotor, MMXRegulatedMotor, NXTRegulatedMotor, RCXRotationSensor, RemoteMotor, TetrixRegulatedMotor

public interface Tachometer
extends Encoder

Abstraction for a Tachometer, which monitors speed of the encoder.

Author:
BB

Method Summary
 int getRotationSpeed()
          Returns the actual speed.
 
Methods inherited from interface lejos.robotics.Encoder
getTachoCount, resetTachoCount
 

Method Detail

getRotationSpeed

int getRotationSpeed()
Returns the actual speed.

Returns:
speed in degrees per second, negative value means motor is rotating backward