Function compass_conversions::parseAzimuthTopicName(const std::string&)

Function Documentation

std::optional<std::tuple<Unit, Orientation, Reference>> compass_conversions::parseAzimuthTopicName(const std::string &topic)

Autodetect azimuth representation from the name of the topic on which the message came.

Parameters:

topic[in] The topic to parse.

Returns:

The autodetected parameters, or nullopt if autodetection failed.