lejos.robotics
Interface Gyroscope

All Known Implementing Classes:
CruizcoreGyro, GyroSensor

public interface Gyroscope

Abstraction for Gryoscope defines minimal implementation

Author:
Kirk P. Thompson 4/7/2011

Method Summary
 float getAngularVelocity()
          Implementor must calculate and return the angular velocity in degrees per second.
 void recalibrateOffset()
          Implementor must calculate and set the offset/bias value for use in getAngularVelocity().
 

Method Detail

getAngularVelocity

float getAngularVelocity()
Implementor must calculate and return the angular velocity in degrees per second.

Returns:
Angular velocity in degrees/second

recalibrateOffset

void recalibrateOffset()
Implementor must calculate and set the offset/bias value for use in getAngularVelocity().