31 #include "bma250e.hpp" 35 #define BMX055_DEFAULT_MAG_I2C_ADDR 0x12 107 BMX055(
int accelBus=BMA250E_DEFAULT_I2C_BUS,
108 int accelAddr=BMA250E_DEFAULT_ADDR,
110 int gyroBus=BMG160_DEFAULT_I2C_BUS,
111 int gyroAddr=BMG160_DEFAULT_ADDR,
113 int magBus=BMM150_DEFAULT_I2C_BUS,
114 int magAddr=BMX055_DEFAULT_MAG_I2C_ADDR,
141 BMA250E_POWER_MODE_T pwr=BMA250E_POWER_MODE_NORMAL,
142 BMA250E_RANGE_T range=BMA250E_RANGE_2G,
143 BMA250E_BW_T bw=BMA250E_BW_250);
158 void initGyroscope(BMG160_POWER_MODE_T pwr=BMG160_POWER_MODE_NORMAL,
159 BMG160_RANGE_T range=BMG160_RANGE_250,
160 BMG160_BW_T bw=BMG160_BW_400_47);
173 BMM150_USAGE_PRESETS_T usage=BMM150_USAGE_HIGH_ACCURACY);
void initGyroscope(BMG160_POWER_MODE_T pwr=BMG160_POWER_MODE_NORMAL, BMG160_RANGE_T range=BMG160_RANGE_250, BMG160_BW_T bw=BMG160_BW_400_47)
Definition: bmx055.cxx:75
BMX055(int accelBus=BMA250E_DEFAULT_I2C_BUS, int accelAddr=BMA250E_DEFAULT_ADDR, int accelCS=-1, int gyroBus=BMG160_DEFAULT_I2C_BUS, int gyroAddr=BMG160_DEFAULT_ADDR, int gyroCS=-1, int magBus=BMM150_DEFAULT_I2C_BUS, int magAddr=BMX055_DEFAULT_MAG_I2C_ADDR, int magCS=-1)
Definition: bmx055.cxx:37
std::vector< float > getGyroscope()
Definition: bmx055.cxx:139
void initAccelerometer(BMA250E_POWER_MODE_T pwr=BMA250E_POWER_MODE_NORMAL, BMA250E_RANGE_T range=BMA250E_RANGE_2G, BMA250E_BW_T bw=BMA250E_BW_250)
Definition: bmx055.cxx:67
API for the BMM150 3-Axis Geomagnetic Sensor.
Definition: bmm150.hpp:76
API for the BMG160 16 bit Triaxial Gyroscope.
Definition: bmg160.hpp:74
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
~BMX055()
Definition: bmx055.cxx:55
std::vector< float > getAccelerometer()
Definition: bmx055.cxx:116
API for the BMA250E 10 bit Triaxial Accelerometer.
Definition: bma250e.hpp:76
void update()
Definition: bmx055.cxx:89
std::vector< float > getMagnetometer()
Definition: bmx055.cxx:162
API for the BMX055 9-axis Sensor Module.
Definition: bmx055.hpp:79
void initMagnetometer(BMM150_USAGE_PRESETS_T usage=BMM150_USAGE_HIGH_ACCURACY)
Definition: bmx055.cxx:83