Function ouster::sdk::core::lidar_mode_of_string

Function Documentation

optional<LidarMode> ouster::sdk::core::lidar_mode_of_string(const std::string &str_val)

Get lidar mode from string.

Parameters:

str_val[in] String to decode.

Returns:

lidar mode corresponding to the string, or nullopt on error