Struct PcapPacketSourceOptions¶
Defined in File pcap_packet_source.h
Inheritance Relationships¶
Base Type¶
private ouster::sdk::PacketSourceOptionsStruct PacketSourceOptions
Struct Documentation¶
-
struct PcapPacketSourceOptions : private ouster::sdk::PacketSourceOptions¶
Options for PcapPacketSource.
Public Functions
-
PcapPacketSourceOptions(const PacketSourceOptions &o)¶
Construct PcapPacketSourceOptions from a PacketSourceOptions object.
Allows the Pcap-specific options to be initialized from a more general PacketSourceOptions instance, enabling reuse of configuration values across multiple packet source types.
- Parameters:
o[in] A PacketSourceOptions object to copy configuration from.
-
PcapPacketSourceOptions()¶
-
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<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<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.
-
PcapPacketSourceOptions(const PacketSourceOptions &o)¶