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 1715 of file MultiSenseTypes.hh.


Member Typedef Documentation

Typedef used to determine which data source a sample came from

Definition at line 1719 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 1762 of file MultiSenseTypes.hh.


Member Data Documentation

The time microseconds value corresponding to the specific sample

Definition at line 1730 of file MultiSenseTypes.hh.

The time seconds value corresponding to the specific sample

Definition at line 1728 of file MultiSenseTypes.hh.

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

Definition at line 1726 of file MultiSenseTypes.hh.

Definition at line 1721 of file MultiSenseTypes.hh.

Definition at line 1722 of file MultiSenseTypes.hh.

Definition at line 1723 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 1738 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 1746 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 1754 of file MultiSenseTypes.hh.


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


multisense_lib
Author(s):
autogenerated on Mon Oct 9 2017 03:06:22