Function compass_interfaces::parseReference

Function Documentation

msg::Azimuth::_reference_type compass_interfaces::parseReference(const std::string &referenceStr)

Convert the given string to azimuth reference.

Parameters:

referenceStr[in] A string describing the reference.

Throws:

std::runtime_error – If the reference is invalid.

Returns:

The reference.