Function ouster::sensor::polarity_of_string

Function Documentation

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

Get polarity from string.

Parameters:

string

Returns:

polarity corresponding to the string, or 0 on error