This file defines the MPU9150 C++ interface for libmpu9150
std::cout << "*************************************************" << std::endl;
std::cout <<
"DEVICE ID (" << (int) sensor->
getDeviceID () <<
")" << std::endl;
std::cout << "*************************************************" << std::endl;
std::cout << "ACCELEROMETER :: X (" << data.axisX << ")" << " Y (" << data.axisY << ")"
<< " Z (" << data.axisZ << ")" << std::endl;
std::cout << "GYRO :: X (" << data.axisX << ")" << " Y (" << data.axisY << ")"
<< " Z (" << data.axisZ << ")" << std::endl;
std::cout << "MAGNOMETER :: X (" << data.axisX << ")" << " Y (" << data.axisY << ")"
<< " Z (" << data.axisZ << ")" << std::endl;
std::cout <<
"TEMPERATURE (" << sensor->
getTemperature () <<
")" << std::endl;
std::cout << "*************************************************" << std::endl;