This is an industrial grade accelerometer by Analog Devices.
std::cout << "XGYRO_OUT:" << imu->gyroScale(imu->regRead(XGYRO_OUT)) << std::endl;
std::cout << "YGYRO_OUT:" << imu->gyroScale(imu->regRead(YGYRO_OUT)) << std::endl;
std::cout << "ZGYRO_OUT:" << imu->gyroScale(imu->regRead(ZGYRO_OUT)) << std::endl;
std::cout << " " << std::endl;
std::cout << "XACCL_OUT:" << imu->accelScale(imu->regRead(XACCL_OUT)) << std::endl;
std::cout << "YACCL_OUT:" << imu->accelScale(imu->regRead(YACCL_OUT)) << std::endl;
std::cout << "ZACCL_OUT:" << imu->accelScale(imu->regRead(ZACCL_OUT)) << std::endl;
std::cout << " " << std::endl;
|
| ADIS16448 (int bus, int rst) |
|
void | resetDUT () |
|
void | configSPI () |
|
int16_t | regRead (uint8_t regAddr) |
|
void | regWrite (uint8_t regAddr, uint16_t regData) |
|
float | accelScale (int16_t sensorData) |
|
float | gyroScale (int16_t sensorData) |
|
float | tempScale (int16_t sensorData) |
|
float | pressureScale (int16_t sensorData) |
|
float | magnetometerScale (int16_t sensorData) |
|