imu_mpu6000

IMU with an Invensense MPU6000 connected via the SPI bus to flightcontroller.

Configures

Name

Value

Description

IMU_MPU_SPI_DEV

spi1

SPI device to use for MPU6000

IMU_MPU_SPI_SLAVE_IDX

SPI_SLAVE0

slave index of the MPU CS pin

Defines

Name

Value

Description

IMU_MPU_LOWPASS_FILTER

MPU60X0_DLPF_256HZ

DigitalLowPassFilter setting of the MPU

IMU_MPU_SMPLRT_DIV

3

sample rate divider setting of the MPU

IMU_MPU_GYRO_RANGE

MPU60X0_GYRO_RANGE_2000

gyroscope range setting of the MPU

IMU_MPU_ACCEL_RANGE

MPU60X0_ACCEL_RANGE_16G

accelerometer range setting of the MPU

IMU_MPU_USE_MEDIAN_FILTER

FALSE

Use ONLY in case the MPU has spikes in the raw output due to various reasons. Default is FALSE

Depends

  • spi_master
  • imu_common

Provides

  • imu