Struct PcapScanSourceOptions
Defined in File pcap_scan_source.h
Inheritance Relationships
Base Type
private ouster::sdk::ScanSourceOptions(Struct ScanSourceOptions)
Struct Documentation
-
struct PcapScanSourceOptions : private ouster::sdk::ScanSourceOptions
Options for the PcapScanSource.
Public Functions
-
PcapScanSourceOptions(const ScanSourceOptions &o)
Construct PcapScanSourceOptions from a ScanSourceOptions object.
Initializes the Pcap-specific scan source options by copying from a
ScanSourceOptionsinstance. This enables reuse of configuration parameters likesensor_info,meta,extrinsics, and others across multiple scan source types.- Parameters:
o[in] – The ScanSourceOptions object to initialize from.
-
PcapScanSourceOptions()
-
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 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
-
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 scan.
-
impl::Parameter<bool> raw_headers
If true, batch raw_headers into each scan.
-
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/scans that don’t match the init_id/sn of the metadata.
-
PcapScanSourceOptions(const ScanSourceOptions &o)