Public Types | Public Member Functions | Public Attributes | List of all members
rt_usb_9axisimu::Consts Class Reference

#include <rt_usb_9axisimu.hpp>

Public Types

enum  IMU_ASCII_DATA_TABLE {
  IMU_ASCII_TIMESTAMP = 0, IMU_ASCII_GYRO_X, IMU_ASCII_GYRO_Y, IMU_ASCII_GYRO_Z,
  IMU_ASCII_ACC_X, IMU_ASCII_ACC_Y, IMU_ASCII_ACC_Z, IMU_ASCII_MAG_X,
  IMU_ASCII_MAG_Y, IMU_ASCII_MAG_Z, IMU_ASCII_TEMP, IMU_ASCII_DATA_SIZE
}
 
enum  IMU_BINARY_DATA_TABLE {
  IMU_BIN_HEADER_FF0 = 0, IMU_BIN_HEADER_FF1 = 1, IMU_BIN_HEADER_R = 2, IMU_BIN_HEADER_T = 3,
  IMU_BIN_HEADER_ID0 = 4, IMU_BIN_HEADER_ID1 = 5, IMU_BIN_FIRMWARE = 6, IMU_BIN_TIMESTAMP = 7,
  IMU_BIN_ACC_X_L = 8, IMU_BIN_ACC_X_H = 9, IMU_BIN_ACC_Y_L = 10, IMU_BIN_ACC_Y_H = 11,
  IMU_BIN_ACC_Z_L = 12, IMU_BIN_ACC_Z_H = 13, IMU_BIN_TEMP_L = 14, IMU_BIN_TEMP_H = 15,
  IMU_BIN_GYRO_X_L = 16, IMU_BIN_GYRO_X_H = 17, IMU_BIN_GYRO_Y_L = 18, IMU_BIN_GYRO_Y_H = 19,
  IMU_BIN_GYRO_Z_L = 20, IMU_BIN_GYRO_Z_H = 21, IMU_BIN_MAG_X_L = 22, IMU_BIN_MAG_X_H = 23,
  IMU_BIN_MAG_Y_L = 24, IMU_BIN_MAG_Y_H = 25, IMU_BIN_MAG_Z_L = 26, IMU_BIN_MAG_Z_H = 27,
  IMU_BIN_DATA_SIZE = 28
}
 

Public Member Functions

void ChangeConvertor (const int firmware_ver)
 
 Consts ()
 
 ~Consts ()
 

Public Attributes

const double CONVERTOR_D2R
 
const double CONVERTOR_G2A
 
double CONVERTOR_RAW2C_1
 
double CONVERTOR_RAW2C_2
 
const double CONVERTOR_RAW2DPS
 
const double CONVERTOR_RAW2G
 
double CONVERTOR_RAW2UT
 
const double CONVERTOR_UT2T
 
const double DEFAULT_ANGULAR_VELOCITY_STDDEV
 
const double DEFAULT_LINEAR_ACCELERATION_STDDEV
 
const double DEFAULT_MAGNETIC_FIELD_STDDEV
 

Detailed Description

Definition at line 56 of file rt_usb_9axisimu.hpp.

Member Enumeration Documentation

Enumerator
IMU_ASCII_TIMESTAMP 
IMU_ASCII_GYRO_X 
IMU_ASCII_GYRO_Y 
IMU_ASCII_GYRO_Z 
IMU_ASCII_ACC_X 
IMU_ASCII_ACC_Y 
IMU_ASCII_ACC_Z 
IMU_ASCII_MAG_X 
IMU_ASCII_MAG_Y 
IMU_ASCII_MAG_Z 
IMU_ASCII_TEMP 
IMU_ASCII_DATA_SIZE 

Definition at line 92 of file rt_usb_9axisimu.hpp.

Enumerator
IMU_BIN_HEADER_FF0 
IMU_BIN_HEADER_FF1 
IMU_BIN_HEADER_R 
IMU_BIN_HEADER_T 
IMU_BIN_HEADER_ID0 
IMU_BIN_HEADER_ID1 
IMU_BIN_FIRMWARE 
IMU_BIN_TIMESTAMP 
IMU_BIN_ACC_X_L 
IMU_BIN_ACC_X_H 
IMU_BIN_ACC_Y_L 
IMU_BIN_ACC_Y_H 
IMU_BIN_ACC_Z_L 
IMU_BIN_ACC_Z_H 
IMU_BIN_TEMP_L 
IMU_BIN_TEMP_H 
IMU_BIN_GYRO_X_L 
IMU_BIN_GYRO_X_H 
IMU_BIN_GYRO_Y_L 
IMU_BIN_GYRO_Y_H 
IMU_BIN_GYRO_Z_L 
IMU_BIN_GYRO_Z_H 
IMU_BIN_MAG_X_L 
IMU_BIN_MAG_X_H 
IMU_BIN_MAG_Y_L 
IMU_BIN_MAG_Y_H 
IMU_BIN_MAG_Z_L 
IMU_BIN_MAG_Z_H 
IMU_BIN_DATA_SIZE 

Definition at line 59 of file rt_usb_9axisimu.hpp.

Constructor & Destructor Documentation

rt_usb_9axisimu::Consts::Consts ( )
inline

Definition at line 121 of file rt_usb_9axisimu.hpp.

rt_usb_9axisimu::Consts::~Consts ( )
inline

Definition at line 142 of file rt_usb_9axisimu.hpp.

Member Function Documentation

void rt_usb_9axisimu::Consts::ChangeConvertor ( const int  firmware_ver)
inline

Definition at line 147 of file rt_usb_9axisimu.hpp.

Member Data Documentation

const double rt_usb_9axisimu::Consts::CONVERTOR_D2R

Definition at line 115 of file rt_usb_9axisimu.hpp.

const double rt_usb_9axisimu::Consts::CONVERTOR_G2A

Definition at line 114 of file rt_usb_9axisimu.hpp.

double rt_usb_9axisimu::Consts::CONVERTOR_RAW2C_1

Definition at line 112 of file rt_usb_9axisimu.hpp.

double rt_usb_9axisimu::Consts::CONVERTOR_RAW2C_2

Definition at line 113 of file rt_usb_9axisimu.hpp.

const double rt_usb_9axisimu::Consts::CONVERTOR_RAW2DPS

Definition at line 110 of file rt_usb_9axisimu.hpp.

const double rt_usb_9axisimu::Consts::CONVERTOR_RAW2G

Definition at line 109 of file rt_usb_9axisimu.hpp.

double rt_usb_9axisimu::Consts::CONVERTOR_RAW2UT

Definition at line 111 of file rt_usb_9axisimu.hpp.

const double rt_usb_9axisimu::Consts::CONVERTOR_UT2T

Definition at line 116 of file rt_usb_9axisimu.hpp.

const double rt_usb_9axisimu::Consts::DEFAULT_ANGULAR_VELOCITY_STDDEV

Definition at line 118 of file rt_usb_9axisimu.hpp.

const double rt_usb_9axisimu::Consts::DEFAULT_LINEAR_ACCELERATION_STDDEV

Definition at line 117 of file rt_usb_9axisimu.hpp.

const double rt_usb_9axisimu::Consts::DEFAULT_MAGNETIC_FIELD_STDDEV

Definition at line 119 of file rt_usb_9axisimu.hpp.


The documentation for this class was generated from the following file:


rt_usb_9axisimu_driver
Author(s): RT Corporation
autogenerated on Mon Dec 14 2020 03:34:37