lejos.robotics.Tachometer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lejos-ev3-api Show documentation
Show all versions of lejos-ev3-api Show documentation
leJOS (pronounced like the Spanish word "lejos" for "far") is a tiny Java Virtual Machine. In 2013 it was ported to the LEGO EV3 brick.
The newest version!
package lejos.robotics;
/**
* Abstraction for a Tachometer, which monitors speed of the encoder.
*
* @author BB
*
*/
public interface Tachometer extends Encoder {
/**
* Returns the actual speed.
*
* @return speed in degrees per second, negative value means motor is rotating backward
*/
int getRotationSpeed();
}