![]() |
LibMultiSense
LibMultiSense Documentation
|
Class containing a single IMU sample. More...
#include <MultiSenseTypes.hh>
Public Types | |
typedef uint16_t | Type |
Typedef used to determine which data source a sample came from. More... | |
Public Member Functions | |
double | time () const |
A convenience function used for getting the time of the specific sample. More... | |
Public Attributes | |
Type | type |
The type of data contained in the instance of imu::Sample. More... | |
uint32_t | timeSeconds |
The time seconds value corresponding to the specific sample. More... | |
uint32_t | timeMicroSeconds |
The time microseconds value corresponding to the specific sample. More... | |
float | x |
x data for each sample More... | |
float | y |
y data for each sample More... | |
float | z |
z data for each sample More... | |
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 2586 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 2590 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 2633 of file MultiSenseTypes.hh.
uint32_t crl::multisense::imu::Sample::timeMicroSeconds |
The time microseconds value corresponding to the specific sample.
Definition at line 2601 of file MultiSenseTypes.hh.
uint32_t crl::multisense::imu::Sample::timeSeconds |
The time seconds value corresponding to the specific sample.
Definition at line 2599 of file MultiSenseTypes.hh.
Type crl::multisense::imu::Sample::type |
The type of data contained in the instance of imu::Sample.
Definition at line 2597 of file MultiSenseTypes.hh.
|
static |
Definition at line 2592 of file MultiSenseTypes.hh.
|
static |
Definition at line 2593 of file MultiSenseTypes.hh.
|
static |
Definition at line 2594 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 2609 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 2617 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 2625 of file MultiSenseTypes.hh.