28 #include "mpu60x0.hpp" 31 #define MPU9150_I2C_BUS 0 32 #define MPU9150_DEFAULT_I2C_ADDR MPU60X0_DEFAULT_I2C_ADDR 73 MPU9150 (
int bus=MPU9150_I2C_BUS,
int address=MPU9150_DEFAULT_I2C_ADDR,
74 int magAddress=AK8975_DEFAULT_I2C_ADDR,
bool enableAk8975=
true);
131 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
std::vector< float > getMagnetometer()
Definition: mpu9150.cxx:112
API for the AK8975 magnetometer.
Definition: ak8975.hpp:53
virtual ~MPU9150()
Definition: mpu9150.cxx:42
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
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.hpp:62
API for MPU9150 chip (Accelerometer, Gyro and Magnetometer Sensor)
Definition: mpu9150.hpp:61