Function ouster::sdk::core::polarity_of_string

Function Documentation

optional<Polarity> ouster::sdk::core::polarity_of_string(const std::string &s)

Get polarity from string.

Parameters:

s[in] – The string to decode into a polarity.

Returns:

polarity corresponding to the string, or 0 on error.