Function compass_conversions::parseAzimuthTopicName(const std::shared_ptr<std::map<std::string, std::string>>&)
Defined in File topic_names.hpp
Function Documentation
-
std::optional<std::tuple<Unit, Orientation, Reference>> compass_conversions::parseAzimuthTopicName(const std::shared_ptr<std::map<std::string, std::string>> &connectionHeaderPtr)
Autodetect azimuth representation from connection header of a topic it came on.
- Parameters:
connectionHeaderPtr – [in] Pointer to the connection header, should contain key “topic”.
- Returns:
The autodetected parameters, or nullopt if autodetection failed.