Interface Gyroscope

  • All Known Implementing Classes:
    GyroscopeAdapter

    public interface Gyroscope
    Abstraction for Gyroscope defines minimal implementation
    Author:
    Kirk P. Thompson 4/7/2011
    • 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().
      • getAngle

        int getAngle()
      • reset

        void reset()