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::Environment Struct Reference

Contains the acquired Environment data. More...

#include <sensorcapture.hpp>

Public Types

enum  _env_status { NOT_PRESENT = 0 , OLD_VAL = 1 , NEW_VAL = 2 }
 
typedef enum sl_oc::sensors::data::Environment::_env_status EnvStatus
 

Public Attributes

EnvStatus valid = NOT_PRESENT
 Indicates if Environmental data are valid. More...
 
uint64_t timestamp = 0
 Timestamp in nanoseconds. More...
 
float temp
 Sensor temperature in °C. More...
 
float press
 Atmospheric pressure in hPa. More...
 
float humid
 Humidity in rH. More...
 

Detailed Description

Contains the acquired Environment data.

Examples
zed_oc_sensors_example.cpp.

Definition at line 94 of file sensorcapture.hpp.

Member Typedef Documentation

◆ EnvStatus

Member Enumeration Documentation

◆ _env_status

Enumerator
NOT_PRESENT 
OLD_VAL 
NEW_VAL 

Definition at line 97 of file sensorcapture.hpp.

97  {
98  NOT_PRESENT = 0,
99  OLD_VAL = 1,
100  NEW_VAL = 2
101  } EnvStatus;
enum sl_oc::sensors::data::Environment::_env_status EnvStatus

Member Data Documentation

◆ humid

float sl_oc::sensors::data::Environment::humid

Humidity in rH.

Examples
zed_oc_sensors_example.cpp.

Definition at line 107 of file sensorcapture.hpp.

Referenced by main().

◆ press

float sl_oc::sensors::data::Environment::press

Atmospheric pressure in hPa.

Examples
zed_oc_sensors_example.cpp.

Definition at line 106 of file sensorcapture.hpp.

Referenced by main().

◆ temp

float sl_oc::sensors::data::Environment::temp

Sensor temperature in °C.

Examples
zed_oc_sensors_example.cpp.

Definition at line 105 of file sensorcapture.hpp.

Referenced by main().

◆ timestamp

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

Timestamp in nanoseconds.

Examples
zed_oc_sensors_example.cpp.

Definition at line 104 of file sensorcapture.hpp.

Referenced by main().

◆ valid

EnvStatus sl_oc::sensors::data::Environment::valid = NOT_PRESENT

Indicates if Environmental data are valid.

Examples
zed_oc_sensors_example.cpp.

Definition at line 103 of file sensorcapture.hpp.

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


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