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

The RAW sensor data structure retrieved from camera MCU by USB. More...

#include <sensorcapture_def.hpp>

Public Attributes

uint8_t struct_id
 Struct identifier, it matches the USB HID Report ID. More...
 
uint8_t imu_not_valid
 Indicate if IMU data are valid [0->valid, 1->not_valid]. More...
 
uint64_t timestamp
 Data timestamp (from IMU sensor) [usec/39]. More...
 
int16_t gX
 Raw Gyroscope X. More...
 
int16_t gY
 Raw Gyroscope Y. More...
 
int16_t gZ
 Raw Gyroscope Z. More...
 
int16_t aX
 Raw Accelerometer X. More...
 
int16_t aY
 Raw Accelerometer Y. More...
 
int16_t aZ
 Raw Accelerometer Z. More...
 
uint8_t frame_sync
 Indicates if data are synced to a camera frame. More...
 
uint8_t sync_capabilities
 Indicates if frame synchronization is active. More...
 
uint32_t frame_sync_count
 Counts the number of synced frames. More...
 
int16_t imu_temp
 Temperature from the IMU sensor [0.01 °C]. More...
 
uint8_t mag_valid
 Indicates if Magnetometer data are valid (put to 0 if no magnetometer is present) More...
 
int16_t mX
 Raw Magnetometer X. More...
 
int16_t mY
 Raw Magnetometer Y. More...
 
int16_t mZ
 Raw Magnetometer Z. More...
 
uint8_t camera_moving
 Indicate if the camera is moving (uses BMI internal HW) More...
 
uint32_t camera_moving_count
 Counts the number of camera moving interrupts. More...
 
uint8_t camera_falling
 Indicate if the camera is free falling (uses BMI internal HW) More...
 
uint32_t camera_falling_count
 Counts the number of camera falling interrupts. More...
 
uint8_t env_valid
 Indicate if Environmental data are valid (put to ENV_SENS_NOT_PRESENT if no environmental sensor is present) More...
 
int16_t temp
 Temperature [0.01 °C]. More...
 
uint32_t press
 Pressure [0.01 hPa]. More...
 
uint32_t humid
 Relative humidity [1.0/1024.0 rH]. More...
 
int16_t temp_cam_left
 Temperature of the left camera sensor [0.01 °C]. More...
 
int16_t temp_cam_right
 Temperature of the right camera sensor [0.01 °C]. More...
 

Detailed Description

The RAW sensor data structure retrieved from camera MCU by USB.

Definition at line 78 of file sensorcapture_def.hpp.

Member Data Documentation

◆ aX

int16_t sl_oc::sensors::usb::RawData::aX

Raw Accelerometer X.

Definition at line 85 of file sensorcapture_def.hpp.

◆ aY

int16_t sl_oc::sensors::usb::RawData::aY

Raw Accelerometer Y.

Definition at line 86 of file sensorcapture_def.hpp.

◆ aZ

int16_t sl_oc::sensors::usb::RawData::aZ

Raw Accelerometer Z.

Definition at line 87 of file sensorcapture_def.hpp.

◆ camera_falling

uint8_t sl_oc::sensors::usb::RawData::camera_falling

Indicate if the camera is free falling (uses BMI internal HW)

Definition at line 98 of file sensorcapture_def.hpp.

◆ camera_falling_count

uint32_t sl_oc::sensors::usb::RawData::camera_falling_count

Counts the number of camera falling interrupts.

Definition at line 99 of file sensorcapture_def.hpp.

◆ camera_moving

uint8_t sl_oc::sensors::usb::RawData::camera_moving

Indicate if the camera is moving (uses BMI internal HW)

Definition at line 96 of file sensorcapture_def.hpp.

◆ camera_moving_count

uint32_t sl_oc::sensors::usb::RawData::camera_moving_count

Counts the number of camera moving interrupts.

Definition at line 97 of file sensorcapture_def.hpp.

◆ env_valid

uint8_t sl_oc::sensors::usb::RawData::env_valid

Indicate if Environmental data are valid (put to ENV_SENS_NOT_PRESENT if no environmental sensor is present)

Definition at line 100 of file sensorcapture_def.hpp.

◆ frame_sync

uint8_t sl_oc::sensors::usb::RawData::frame_sync

Indicates if data are synced to a camera frame.

Definition at line 88 of file sensorcapture_def.hpp.

◆ frame_sync_count

uint32_t sl_oc::sensors::usb::RawData::frame_sync_count

Counts the number of synced frames.

Definition at line 90 of file sensorcapture_def.hpp.

◆ gX

int16_t sl_oc::sensors::usb::RawData::gX

Raw Gyroscope X.

Definition at line 82 of file sensorcapture_def.hpp.

◆ gY

int16_t sl_oc::sensors::usb::RawData::gY

Raw Gyroscope Y.

Definition at line 83 of file sensorcapture_def.hpp.

◆ gZ

int16_t sl_oc::sensors::usb::RawData::gZ

Raw Gyroscope Z.

Definition at line 84 of file sensorcapture_def.hpp.

◆ humid

uint32_t sl_oc::sensors::usb::RawData::humid

Relative humidity [1.0/1024.0 rH].

Definition at line 103 of file sensorcapture_def.hpp.

◆ imu_not_valid

uint8_t sl_oc::sensors::usb::RawData::imu_not_valid

Indicate if IMU data are valid [0->valid, 1->not_valid].

Definition at line 80 of file sensorcapture_def.hpp.

◆ imu_temp

int16_t sl_oc::sensors::usb::RawData::imu_temp

Temperature from the IMU sensor [0.01 °C].

Definition at line 91 of file sensorcapture_def.hpp.

◆ mag_valid

uint8_t sl_oc::sensors::usb::RawData::mag_valid

Indicates if Magnetometer data are valid (put to 0 if no magnetometer is present)

Definition at line 92 of file sensorcapture_def.hpp.

◆ mX

int16_t sl_oc::sensors::usb::RawData::mX

Raw Magnetometer X.

Definition at line 93 of file sensorcapture_def.hpp.

◆ mY

int16_t sl_oc::sensors::usb::RawData::mY

Raw Magnetometer Y.

Definition at line 94 of file sensorcapture_def.hpp.

◆ mZ

int16_t sl_oc::sensors::usb::RawData::mZ

Raw Magnetometer Z.

Definition at line 95 of file sensorcapture_def.hpp.

◆ press

uint32_t sl_oc::sensors::usb::RawData::press

Pressure [0.01 hPa].

Definition at line 102 of file sensorcapture_def.hpp.

◆ struct_id

uint8_t sl_oc::sensors::usb::RawData::struct_id

Struct identifier, it matches the USB HID Report ID.

Definition at line 79 of file sensorcapture_def.hpp.

◆ sync_capabilities

uint8_t sl_oc::sensors::usb::RawData::sync_capabilities

Indicates if frame synchronization is active.

Definition at line 89 of file sensorcapture_def.hpp.

◆ temp

int16_t sl_oc::sensors::usb::RawData::temp

Temperature [0.01 °C].

Definition at line 101 of file sensorcapture_def.hpp.

◆ temp_cam_left

int16_t sl_oc::sensors::usb::RawData::temp_cam_left

Temperature of the left camera sensor [0.01 °C].

Definition at line 104 of file sensorcapture_def.hpp.

◆ temp_cam_right

int16_t sl_oc::sensors::usb::RawData::temp_cam_right

Temperature of the right camera sensor [0.01 °C].

Definition at line 105 of file sensorcapture_def.hpp.

◆ timestamp

uint64_t sl_oc::sensors::usb::RawData::timestamp

Data timestamp (from IMU sensor) [usec/39].

Definition at line 81 of file sensorcapture_def.hpp.


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