Class OsfScanSourceOptions

Inheritance Relationships

Base Type

Class Documentation

class OsfScanSourceOptions : private ouster::sdk::ScanSourceOptions

Options for the OsfScanSource.

Public Functions

OsfScanSourceOptions(const ScanSourceOptions &o)

Construct OsfScanSourceOptions from a ScanSourceOptions object.

Parameters:

o[in] – The ScanSourceOptions object to initialize from.

OsfScanSourceOptions()
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<core::error_handler_t> error_handler

An optional error handler.

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 LidarScans, 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