Struct LidarConfig¶
Defined in File lidar_config.h
Inheritance Relationships¶
Base Type¶
public ouster::sdk::core::SensorConfigStruct SensorConfig
Struct Documentation¶
-
struct LidarConfig : public ouster::sdk::core::SensorConfig¶
Struct for lidar configuration parameters.
Public Functions
-
explicit LidarConfig(const std::string &config_json)¶
Constructs a LidarConfig object by parsing a JSON-formatted configuration string.
- Parameters:
config_json[in] JSON string containing configuration settings for the sensor.
- Throws:
std::runtime_error – If the LidarConfig JSON string is invalid or incomplete.
-
LidarConfig()¶
Default constructor.
Public Members
-
optional<std::string> udp_dest¶
The destination address for the lidar/imu data to be sent to.
-
optional<std::string> udp_dest_zm¶
The destination address for the ZM data to be sent to.
-
optional<uint16_t> udp_port_lidar¶
The destination port for the lidar data to be sent to.
-
optional<uint16_t> udp_port_imu¶
The destination port for the imu data to be sent to.
-
optional<uint16_t> udp_port_zm¶
The destination port for the ZM data to be sent to.
-
optional<uint32_t> udp_multicast_ttl¶
Multicast TTL for IMU and lidar UDP traffic.
-
optional<uint32_t> udp_multicast_ttl_zm¶
Multicast TTL for ZM UDP traffic.
-
optional<TimestampMode> timestamp_mode¶
The timestamp mode for the sensor to use.
Refer to TimestampMode for more details.
-
optional<LidarMode> lidar_mode¶
The lidar mode for the sensor to use.
Refer to LidarMode for more details.
-
optional<OperatingMode> operating_mode¶
The operating mode for the sensor to use.
Refer to OperatingMode for more details.
-
optional<MultipurposeIOMode> multipurpose_io_mode¶
The multipurpose io mode for the sensor to use.
Refer to MultipurposeIOMode for more details.
-
optional<AzimuthWindow> azimuth_window¶
The azimuth window for the sensor to use.
Refer to AzimuthWindow for more details.
-
optional<unsigned int> lidar_frame_azimuth_offset¶
The lidar frame azimuth offset for the sensor to use.
Refer to the sensor docs for more details.
-
optional<double> signal_multiplier¶
Multiplier for signal strength of sensor.
See the sensor docs for more details on usage.
-
optional<Polarity> nmea_in_polarity¶
The nmea polarity for the sensor to use.
Refer to Polarity for more details.
-
optional<bool> nmea_ignore_valid_char¶
Whether NMEA UART input $GPRMC messages should be ignored.
Refer to the sensor docs for more details.
-
optional<NMEABaudRate> nmea_baud_rate¶
The nmea baud rate for the sensor to use.
Refer to Polarity> for more details.
-
optional<int> nmea_leap_seconds¶
Number of leap seconds added to UDP timestamp.
See the sensor docs for more details.
-
optional<Polarity> sync_pulse_in_polarity¶
Polarity of SYNC_PULSE_IN input.
See Polarity for more details.
-
optional<Polarity> sync_pulse_out_polarity¶
Polarity of SYNC_PULSE_OUT output.
See Polarity for more details.
-
optional<int> sync_pulse_out_angle¶
Angle in degrees that sensor traverses between each SYNC_PULSE_OUT pulse.
See senor docs for more details.
-
optional<int> sync_pulse_out_pulse_width¶
Width of SYNC_PULSE_OUT pulse in ms.
See sensor docs for more details.
-
optional<int> sync_pulse_out_frequency¶
Frequency of SYNC_PULSE_OUT pulse in Hz.
See sensor docs for more details.
-
optional<bool> phase_lock_enable¶
Whether phase locking is enabled.
See sensor docs for more details.
-
optional<int> phase_lock_offset¶
Angle that sensors are locked to in millidegrees.
See sensor docs for more details.
-
optional<int> columns_per_packet¶
Columns per packet.
See sensor docs for more details.
-
optional<std::string> udp_profile_lidar¶
The lidar profile for the sensor to use.
Refer to UDPProfileLidar for more details.
-
optional<UDPProfileIMU> udp_profile_imu¶
The imu profile for the sensor to use.
Refer to UDPProfileIMU for more details.
-
optional<HeaderType> header_type¶
The udp profile type for the sensor to use.
Refer to HeaderType for more details.
-
optional<FullScaleRange> gyro_fsr¶
The gyro full scale measurement range to use.
Refer to FullScaleRange for more details.
-
optional<FullScaleRange> accel_fsr¶
The accelerometer full scale measurement range to use.
Refer to FullScaleRange for more details.
-
optional<ReturnOrder> return_order¶
The priority of returns for the lidar to output.
Refer to ReturnOrder for more details.
-
optional<int> min_range_threshold_cm¶
The minimum detection range of the lidar in cm.
-
optional<uint32_t> imu_packets_per_frame¶
The number of imu packets per frame.
-
optional<BloomReductionOptimization> bloom_reduction_optimization¶
The bloom reduction optimization setting.
-
std::map<std::string, std::string> extra_options¶
Extra config options to apply that aren’t in the standard set.
Each value should be stringized json
-
explicit LidarConfig(const std::string &config_json)¶