Function compass_interfaces::parseOrientation
Defined in File string_utils.hpp
Function Documentation
-
msg::Azimuth::_orientation_type compass_interfaces::parseOrientation(const std::string &orientationStr)
Convert the given string to azimuth orientation.
- Parameters:
orientationStr – [in] A string describing the orientation.
- Throws:
std::runtime_error – If the orientation is invalid.
- Returns:
The orientation.