Fixposition SDK 0.0.0-heads/main-0-g4d935a0
Collection of c++ libraries and apps for use with Fixposition products on Linux
Loading...
Searching...
No Matches
fpsdk::common::fpl::CamData Struct Reference

Helper for extracting camera data (image, video, ...). More...

#include <fpl.hpp>

Inheritance diagram for fpsdk::common::fpl::CamData:
[legend]
Collaboration diagram for fpsdk::common::fpl::CamData:
[legend]

Public Member Functions

 CamData (const FplMessage &log_msg)
 Constructor.

Public Attributes

std::string info_
 Stringification of (some of the) data, for debugging.
time::RosTime rec_time_
 Recording timestamp.
Public Attributes inherited from fpsdk::common::cam::CamData
bool valid_ = false
 Data valid, successfully extracted from message.
CamId cam_id_ = CamId::UNSPECIFIED
 = meta_.cam_id_ as enum (if value in range)
CamDataType type_ = CamDataType::UNSPECIFIED
 = meta_.type_ as enum (if value in range)
CamDataFmt fmt_ = CamDataFmt::UNSPECIFIED
 = meta_.fmt_ as enum (if value in range)
CamDataFrm frm_ = CamDataFrm::UNSPECIFIED
 = meta_.frm_ as enum (if value in range)
uint64_t seq_ = 0
 Sequence number.
uint64_t ts_ = 0
 Camera image time (middle of exposure) [CLOCK_REALTIME ns] (0 = invalid).
uint32_t dt_ = 0
 Exposure time (duration) [ns] (0 = not available).
uint32_t width_ = 0
 Width of the frame [px].
uint32_t height_ = 0
 Height of the fram [px].
std::vector< uint8_t > data_
 Image/frame data, contents depends on fmt_ etc.

Detailed Description

Helper for extracting camera data (image, video, ...).

Definition at line 424 of file fpl.hpp.

Constructor & Destructor Documentation

◆ CamData()

fpsdk::common::fpl::CamData::CamData ( const FplMessage & log_msg)

Constructor.

Parameters
[in]log_msg.fpl log message

Member Data Documentation

◆ info_

std::string fpsdk::common::fpl::CamData::info_

Stringification of (some of the) data, for debugging.

Definition at line 432 of file fpl.hpp.

◆ rec_time_

time::RosTime fpsdk::common::fpl::CamData::rec_time_

Recording timestamp.

Definition at line 433 of file fpl.hpp.


The documentation for this struct was generated from the following file:
  • fpsdk_common/include/fpsdk_common/fpl.hpp