![]() |
Fixposition SDK 0.0.0-heads/main-0-g4d935a0
Collection of c++ libraries and apps for use with Fixposition products on Linux
|
Helper for extracting camera data (image, video, ...). More...
#include <fpl.hpp>
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. | |
| fpsdk::common::fpl::CamData::CamData | ( | const FplMessage & | log_msg | ) |
Constructor.
| [in] | log_msg | .fpl log message |
| std::string fpsdk::common::fpl::CamData::info_ |
| time::RosTime fpsdk::common::fpl::CamData::rec_time_ |