Defined in File sensor_config.h
Get lidar mode from string.
str_val[in] String to decode.
lidar mode corresponding to the string, or nullopt on error