Public Types | Public Member Functions | Public Attributes | Static Public Attributes
crl::multisense::imu::Sample Class Reference

#include <MultiSenseTypes.hh>

List of all members.

Public Types

typedef uint16_t Type

Public Member Functions

double time () const

Public Attributes

uint32_t timeMicroSeconds
uint32_t timeSeconds
Type type
float x
float y
float z

Static Public Attributes

static CRL_CONSTEXPR Type Type_Accelerometer = 1
static CRL_CONSTEXPR Type Type_Gyroscope = 2
static CRL_CONSTEXPR Type Type_Magnetometer = 3

Detailed Description

Class containing a single IMU sample. A sample can contain data either accelerometer data, gyroscope data, or magnetometer data.

Definition at line 1519 of file MultiSenseTypes.hh.


Member Typedef Documentation

Typedef used to determine which data source a sample came from

Definition at line 1523 of file MultiSenseTypes.hh.


Member Function Documentation

double crl::multisense::imu::Sample::time ( ) const [inline]

A convenience function used for getting the time of the specific sample

return The time corresponding to the sample as a double

Definition at line 1566 of file MultiSenseTypes.hh.


Member Data Documentation

The time microseconds value corresponding to the specific sample

Definition at line 1534 of file MultiSenseTypes.hh.

The time seconds value corresponding to the specific sample

Definition at line 1532 of file MultiSenseTypes.hh.

The type of data contained in the instance of imu::Sample

Definition at line 1530 of file MultiSenseTypes.hh.

Definition at line 1525 of file MultiSenseTypes.hh.

Definition at line 1526 of file MultiSenseTypes.hh.

Definition at line 1527 of file MultiSenseTypes.hh.

x data for each sample

The units vary by source and can be queried with crl::multisense::Channel::getImuInfo

Definition at line 1542 of file MultiSenseTypes.hh.

y data for each sample

The units vary by source and can be queried with crl::multisense::Channel::getImuInfo

Definition at line 1550 of file MultiSenseTypes.hh.

z data for each sample

The units vary by source and can be queried with crl::multisense::Channel::getImuInfo

Definition at line 1558 of file MultiSenseTypes.hh.


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


multisense_lib
Author(s):
autogenerated on Thu Aug 27 2015 14:01:12