Function ouster::sdk::open_packet_source(const std::vector<std::string>&, const std::function<void(PacketSourceOptions&)>&)
Defined in File open_source.h
Function Documentation
-
ouster::sdk::core::AnyPacketSource ouster::sdk::open_packet_source(const std::vector<std::string> &source, const std::function<void(PacketSourceOptions&)> &options = {})
Construct a PacketSource for the given file with the specified options.
- Throws:
std::runtime_error – if source type is not detected or not supported
std::runtime_error – if provided option is not supported by source type
- Parameters:
source – [in] source file name(s)
options – [in] source options
- Returns:
constructed source