Firmware
Macros
mpu9250.cpp File Reference

Driver for the Invensense ICM20948 connected via I2C or SPI. More...

#include <px4_config.h>
#include <px4_time.h>
#include <lib/ecl/geo/geo.h>
#include <lib/perf/perf_counter.h>
#include <systemlib/conversions.h>
#include <systemlib/px4_macros.h>
#include <drivers/drv_hrt.h>
#include <drivers/device/spi.h>
#include <drivers/device/ringbuffer.h>
#include <drivers/device/integrator.h>
#include <drivers/drv_accel.h>
#include <drivers/drv_gyro.h>
#include <drivers/drv_mag.h>
#include <lib/mathlib/math/filter/LowPassFilter2p.hpp>
#include <lib/conversion/rotation.h>
#include "mag.h"
#include "accel.h"
#include "gyro.h"
#include "mpu9250.h"

Macros

#define MPU9250_TIMER_REDUCTION   200
 
#define ACCEL_RANGE_G   16
 

Detailed Description

Driver for the Invensense ICM20948 connected via I2C or SPI.

Driver for the Invensense MPU9250 connected via I2C or SPI.

based on the mpu9250 driver

Author
Andrew Tridgell

based on the mpu6000 driver