ZED Open Capture  v0.6.0
Low level camera driver for the ZED stereo camera family
Public Types | Public Attributes | List of all members
sl_oc::sensors::data::Imu Struct Reference

Contains the acquired Imu data. More...

#include <sensorcapture.hpp>

Public Types

enum  _imu_status { NOT_PRESENT = 0 , OLD_VAL = 1 , NEW_VAL = 2 }
 
typedef enum sl_oc::sensors::data::Imu::_imu_status ImuStatus
 

Public Attributes

ImuStatus valid = NOT_PRESENT
 Indicates if IMU data are valid. More...
 
uint64_t timestamp = 0
 Timestamp in nanoseconds. More...
 
float aX
 Acceleration along X axis in m/s² More...
 
float aY
 Acceleration along Y axis in m/s² More...
 
float aZ
 Acceleration along Z axis in m/s² More...
 
float gX
 Angular velocity around X axis in °/s. More...
 
float gY
 Angular velocity around Y axis in °/s. More...
 
float gZ
 Angular velocity around > axis in °/s. More...
 
float temp
 Sensor temperature in °C. More...
 
bool sync
 Indicates in IMU data are synchronized with a video frame. More...
 

Detailed Description

Contains the acquired Imu data.

Examples
zed_oc_sensors_example.cpp, and zed_oc_sync_example.cpp.

Definition at line 51 of file sensorcapture.hpp.

Member Typedef Documentation

◆ ImuStatus

Member Enumeration Documentation

◆ _imu_status

Enumerator
NOT_PRESENT 
OLD_VAL 
NEW_VAL 

Definition at line 54 of file sensorcapture.hpp.

54  {
55  NOT_PRESENT = 0,
56  OLD_VAL = 1,
57  NEW_VAL = 2
58  } ImuStatus;
enum sl_oc::sensors::data::Imu::_imu_status ImuStatus

Member Data Documentation

◆ aX

float sl_oc::sensors::data::Imu::aX

Acceleration along X axis in m/s²

Examples
zed_oc_sensors_example.cpp, and zed_oc_sync_example.cpp.

Definition at line 62 of file sensorcapture.hpp.

Referenced by getSensorThreadFunc(), and main().

◆ aY

float sl_oc::sensors::data::Imu::aY

Acceleration along Y axis in m/s²

Examples
zed_oc_sensors_example.cpp, and zed_oc_sync_example.cpp.

Definition at line 63 of file sensorcapture.hpp.

Referenced by getSensorThreadFunc(), and main().

◆ aZ

float sl_oc::sensors::data::Imu::aZ

Acceleration along Z axis in m/s²

Examples
zed_oc_sensors_example.cpp, and zed_oc_sync_example.cpp.

Definition at line 64 of file sensorcapture.hpp.

Referenced by getSensorThreadFunc(), and main().

◆ gX

float sl_oc::sensors::data::Imu::gX

Angular velocity around X axis in °/s.

Examples
zed_oc_sensors_example.cpp, and zed_oc_sync_example.cpp.

Definition at line 65 of file sensorcapture.hpp.

Referenced by getSensorThreadFunc(), and main().

◆ gY

float sl_oc::sensors::data::Imu::gY

Angular velocity around Y axis in °/s.

Examples
zed_oc_sensors_example.cpp, and zed_oc_sync_example.cpp.

Definition at line 66 of file sensorcapture.hpp.

Referenced by getSensorThreadFunc(), and main().

◆ gZ

float sl_oc::sensors::data::Imu::gZ

Angular velocity around > axis in °/s.

Examples
zed_oc_sensors_example.cpp, and zed_oc_sync_example.cpp.

Definition at line 67 of file sensorcapture.hpp.

Referenced by getSensorThreadFunc(), and main().

◆ sync

bool sl_oc::sensors::data::Imu::sync

Indicates in IMU data are synchronized with a video frame.

Examples
zed_oc_sync_example.cpp.

Definition at line 69 of file sensorcapture.hpp.

Referenced by getSensorThreadFunc().

◆ temp

float sl_oc::sensors::data::Imu::temp

Sensor temperature in °C.

Definition at line 68 of file sensorcapture.hpp.

◆ timestamp

uint64_t sl_oc::sensors::data::Imu::timestamp = 0

Timestamp in nanoseconds.

Examples
zed_oc_sensors_example.cpp, and zed_oc_sync_example.cpp.

Definition at line 61 of file sensorcapture.hpp.

Referenced by getSensorThreadFunc(), and main().

◆ valid

ImuStatus sl_oc::sensors::data::Imu::valid = NOT_PRESENT

Indicates if IMU data are valid.

Examples
zed_oc_sensors_example.cpp, and zed_oc_sync_example.cpp.

Definition at line 60 of file sensorcapture.hpp.

Referenced by sl_oc::sensors::SensorCapture::getLastIMUData(), getSensorThreadFunc(), and main().


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