30 #define MPU9150_I2C_BUS 0
31 #define MPU9150_DEFAULT_I2C_ADDR MPU60X0_DEFAULT_I2C_ADDR
72 MPU9150 (
int bus=MPU9150_I2C_BUS,
int address=MPU9150_DEFAULT_I2C_ADDR,
73 int magAddress=AK8975_DEFAULT_I2C_ADDR,
bool enableAk8975=
true);
130 uint8_t m_magAddress;
MPU9150(int bus=MPU9150_I2C_BUS, int address=MPU9150_DEFAULT_I2C_ADDR, int magAddress=AK8975_DEFAULT_I2C_ADDR, bool enableAk8975=true)
Definition: mpu9150.cxx:34
void getMagnetometer(float *x, float *y, float *z)
Definition: mpu9150.cxx:95
API for the AK8975 magnetometer.
Definition: ak8975.h:52
~MPU9150()
Definition: mpu9150.cxx:42
void update()
Definition: mpu9150.cxx:87
bool init()
Definition: mpu9150.cxx:48
API for the MPU60X0 3-axis Gyroscope and 3-axis Accelerometer.
Definition: mpu60x0.h:61
API for MPU9150 chip (Accelerometer, Gyro and Magnometer Sensor)
Definition: mpu9150.h:60