Function compass_interfaces::unitToString

Function Documentation

std::string compass_interfaces::unitToString(msg::Azimuth::_unit_type unit)

Convert the given azimuth unit to string.

Parameters:

unit[in] The unit.

Throws:

std::runtime_error – If the unit is invalid.

Returns:

The string.