Struct SensorPacketSourceOptions¶
Defined in File sensor_packet_source.h
Inheritance Relationships¶
Base Type¶
private ouster::sdk::PacketSourceOptionsStruct PacketSourceOptions
Struct Documentation¶
-
struct SensorPacketSourceOptions : private ouster::sdk::PacketSourceOptions¶
SensorFrameSetSource specific configuration options.
Public Functions
-
inline SensorPacketSourceOptions(const PacketSourceOptions &o)¶
Constructs SensorPacketSourceOptions.
- Parameters:
o[in] The base options to initialize from.
-
SensorPacketSourceOptions() = default¶
-
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<float> buffer_time_sec¶
If > 0.0 buffer packets for this long internally Useful if you may not be retrieving packets from the source consistently.
-
impl::Parameter<float> config_timeout¶
timeout for http endpoints while configuring the sensor
-
impl::Parameter<bool> do_not_reinitialize¶
If true, do not change any settings on the sensor or reinitialize it.
-
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<uint16_t>> imu_port¶
if set, the imu udp port to use with the sensor
-
impl::Parameter<nonstd::optional<uint16_t>> lidar_port¶
if set, the lidar udp port to use with the sensor
-
impl::Parameter<bool> no_auto_udp_dest¶
If true, do not change the udp_dest configuration option on the sensor.
-
impl::Parameter<uint32_t> rcvbuf_size¶
Receive buffer size in bytes.
-
impl::Parameter<bool> reuse_ports¶
if true, enable reuse ports on the sensor client sockets this enables multiple programs on the same computer to bind these ports which is useful for multi/broadcast but can lead to conflicts otherwise
-
impl::Parameter<std::vector<core::SensorConfig>> sensor_config¶
Configuration to apply to the sensors.
-
impl::Parameter<std::vector<core::SensorInfo>> sensor_info¶
Override sensor info. If provided used instead of talking to the sensor.
-
impl::Parameter<float> timeout¶
timeout for receiving packets from the sensor
-
inline SensorPacketSourceOptions(const PacketSourceOptions &o)¶