Class DexterIMUSensor

    • Field Detail

      • Accel_I2C_address

        protected int Accel_I2C_address
      • Gyro_I2C_address

        protected int Gyro_I2C_address
    • Constructor Detail

      • DexterIMUSensor

        public DexterIMUSensor​(I2CPort port)
      • DexterIMUSensor

        public DexterIMUSensor​(Port port)
    • Method Detail

      • getAccelerationMode

        public SampleProvider getAccelerationMode()
        Dexter Industries dIMU Sensor, Acceleration Mode
        The Acceleration mode measures the linear acceleration of the sensor over three axes

        Size and content of the sample
        The sample contains three elements. Each element gives the linear acceleration (in metres/second^2) of the sensor over a single axis. The order of the axes in the sample is X, Y and Z.

        Configuration
        The sensor is configured for a dynamic range of -2G tot 2G and an internal update rate of 125 Hertz. Currently there are no configurable settings.

        Returns:
        A sampleProvider See leJOS conventions for SampleProviders See Freescale MMA7455L datasheet
      • getRateMode

        public SampleProvider getRateMode()
        Dexter Industries dIMU Sensor, Rate Mode
        The Rate mode measures the angular speed of the sensor over three axes

        Size and content of the sample
        The sample contains three elements. Each element gives the angular speed (in degrees/second) of the sensor over a single axis. The order of the axes in the sample is X, Y and Z.

        Configuration
        The sensor is configured for a dynamic range from -2000 to 2000 degrees/second. The internal sample rate is 100 Hertz by default and 400 Hertz when the sensor port is configured for high speed. Currently there are no configurable settings.

        Returns:
        A sampleProvider See leJOS conventions for SampleProviders See ST L3G4200D datasheet
      • getTemperatureMode

        public SampleProvider getTemperatureMode()
        Dexter Industries dIMU Sensor, Temperature Mode
        The Temperature mode measures the internal temperature of the sensors gyroscope IC

        Size and content of the sample
        The sample contains one elements providing the internal temperature (in gegrees Celcius) of the gyro sensors. Please note that the internal temperature of the sensor will exceed the temperature of the environment when the sensor is in use.

        Configuration
        The temperature range of the sensor is -40 to 85 degrees Celcius. The update rate is 1 Hertz. There are no configurable settings.

        Returns:
        A sampleProvider See leJOS conventions for SampleProviders See ST L3G4200D datasheet