Struct PcapFrameSetSourceOptions

Inheritance Relationships

Base Type

Struct Documentation

struct PcapFrameSetSourceOptions : private ouster::sdk::FrameSetSourceOptions

Options for the PcapFrameSetSource.

Public Functions

PcapFrameSetSourceOptions(const FrameSetSourceOptions &o)

Construct PcapFrameSetSourceOptions from a FrameSetSourceOptions object.

Initializes the Pcap-specific frame set source options by copying from a FrameSetSourceOptions instance. This enables reuse of configuration parameters like sensor_info, meta, extrinsics, and others across multiple frame set source types.

Parameters:

o[in] The FrameSetSourceOptions object to initialize from.

PcapFrameSetSourceOptions()
void check(const char *source_type) const

Check if any parameters are unused.

Parameters:

source_type[in] name of source type

Throws:

std::runtime_error – if any parameters are unused

Public Members

impl::Parameter<std::vector<Eigen::Matrix<double, 4, 4, Eigen::RowMajor>>> extrinsics

list of extrinsics matrices to apply to the sensor with the same index, overrides any extrinsics loaded from file

impl::Parameter<std::string> extrinsics_file

file to load extrinsics from

impl::Parameter<nonstd::optional<std::vector<std::string>>> field_names

list of fields to decode into LidarFrames, if not set decodes all fields, if an empty array decodes no fields

impl::Parameter<bool> index

if true, ensure that this file is indexed, indexing in place if necessary

impl::Parameter<std::vector<std::string>> meta

optional list of metadata files to load with some formats, if not provided files are attempted to be found automatically

impl::Parameter<bool> raw_fields

If true, batch raw_fields into each frame.

impl::Parameter<bool> raw_headers

If true, batch raw_headers into each frame.

impl::Parameter<std::vector<core::SensorInfo>> sensor_info

Override sensor info. If provided used instead of talking to the sensor.

impl::Parameter<bool> soft_id_check

If true, accept packets/frames that don’t match the init_id/sn of the metadata.