Python Guide
C++ Guide
ROS1 Guide
SDK Reference
Command Line Utility Guide
Migration Guides
External Links
Defined in File types.h
Get polarity from string.
s[in] – The string to decode into a polarity.
polarity corresponding to the string, or 0 on error.