#include <MultiSenseTypes.hh>
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 |
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.
typedef uint16_t crl::multisense::imu::Sample::Type |
Typedef used to determine which data source a sample came from
Definition at line 1719 of file MultiSenseTypes.hh.
|
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.
uint32_t crl::multisense::imu::Sample::timeMicroSeconds |
The time microseconds value corresponding to the specific sample
Definition at line 1730 of file MultiSenseTypes.hh.
uint32_t crl::multisense::imu::Sample::timeSeconds |
The time seconds value corresponding to the specific sample
Definition at line 1728 of file MultiSenseTypes.hh.
Type crl::multisense::imu::Sample::type |
The type of data contained in the instance of imu::Sample
Definition at line 1726 of file MultiSenseTypes.hh.
|
static |
Definition at line 1721 of file MultiSenseTypes.hh.
|
static |
Definition at line 1722 of file MultiSenseTypes.hh.
|
static |
Definition at line 1723 of file MultiSenseTypes.hh.
float crl::multisense::imu::Sample::x |
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.
float crl::multisense::imu::Sample::y |
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.
float crl::multisense::imu::Sample::z |
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.