LibMultiSense
LibMultiSense Documentation
multisense::ImuSample Struct Reference

A single IMU sample from the camera. More...

#include <MultiSenseTypes.hh>

Classes

struct  Measurement
 A generic measurement for a 3-axis IMU. More...
 

Public Attributes

std::optional< Measurementaccelerometer = std::nullopt
 The acceleration in units of Gs. More...
 
std::optional< Measurementgyroscope = std::nullopt
 The rotational velocity in degrees-per-second. More...
 
std::optional< Measurementmagnetometer = std::nullopt
 The measured magnetic field in milligauss. More...
 
TimeT sample_time {}
 The MultiSense timestamp associated with the frame. More...
 
TimeT ptp_sample_time {}
 The MultiSense ptp timestamp associated with the frame. More...
 

Detailed Description

A single IMU sample from the camera.

Definition at line 365 of file MultiSenseTypes.hh.

Member Data Documentation

◆ accelerometer

std::optional<Measurement> multisense::ImuSample::accelerometer = std::nullopt

The acceleration in units of Gs.

Depending on the IMU configuration of the sensor, this may be invalid (i.e. the MultiSense has separate accelerometer and gyroscope chips)

Definition at line 392 of file MultiSenseTypes.hh.

◆ gyroscope

std::optional<Measurement> multisense::ImuSample::gyroscope = std::nullopt

The rotational velocity in degrees-per-second.

Depending on the IMU configuration of the sensor, this may be invalid (i.e. the MultiSense has separate accelerometer and gyroscope chips)

Definition at line 397 of file MultiSenseTypes.hh.

◆ magnetometer

std::optional<Measurement> multisense::ImuSample::magnetometer = std::nullopt

The measured magnetic field in milligauss.

Depending on the IMU configuration of the sensor, this may be invalid (i.e. the MultiSense has a separate magnetometer chip)

Definition at line 402 of file MultiSenseTypes.hh.

◆ ptp_sample_time

TimeT multisense::ImuSample::ptp_sample_time {}

The MultiSense ptp timestamp associated with the frame.

Definition at line 412 of file MultiSenseTypes.hh.

◆ sample_time

TimeT multisense::ImuSample::sample_time {}

The MultiSense timestamp associated with the frame.

Definition at line 407 of file MultiSenseTypes.hh.


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