info_imu_struct Struct Reference

The common structure use by any IMU device. It specifies when this sample was taken, the responsible device of, the sample and its quality.

#include <imuApi.h>

Public Attributes

std::string timestamp = ""
 The timestamp of the stored sample.
 
e_Type type = e_Type::ACCELEROMETER
 Which device.
 
int x = 0
 X-axis Accelerometer: micro g. Gyroscope: micro degrees per second. Magnetometer: micro Gauss.
 
int y = 0
 Y-axis Accelerometer: micro g. Gyroscope: micro degrees per second. Magnetometer: micro Gauss.
 
int z = 0
 Z-axis Accelerometer: micro g. Gyroscope: micro degrees per second. Magnetometer: micro Gauss.
 
boost::system::error_code status
 The quality of the sample.