Interface ImuInterface

All Known Implementing Classes:
ADXL345, ImuBase

public interface ImuInterface
  • Method Details

    • getImuName

      String getImuName()
    • getPollInterval

      int getPollInterval()
      Get the recommended poll interval in milliseconds
      Returns:
      The poll interval
    • hasGyro

      boolean hasGyro()
    • hasAccelerometer

      boolean hasAccelerometer()
    • hasCompass

      boolean hasCompass()
    • startRead

      void startRead()
    • stopRead

      void stopRead()
    • getImuData

      ImuData getImuData() throws RuntimeIOException
      Throws:
      RuntimeIOException
    • getGyroData

      org.apache.commons.math3.geometry.euclidean.threed.Vector3D getGyroData() throws RuntimeIOException
      Throws:
      RuntimeIOException
    • getAccelerometerData

      org.apache.commons.math3.geometry.euclidean.threed.Vector3D getAccelerometerData() throws RuntimeIOException
      Throws:
      RuntimeIOException
    • getCompassData

      org.apache.commons.math3.geometry.euclidean.threed.Vector3D getCompassData() throws RuntimeIOException
      Throws:
      RuntimeIOException
    • addTapListener

      void addTapListener​(TapListener listener)
    • addOrientationListener

      void addOrientationListener​(OrientationListener listener)