compass_msgs Namespace Reference

Functions

std::string orientationToString (decltype(Azimuth::orientation) orientation)
 Convert the given azimuth orientation to string. More...
 
decltype(Azimuth::orientation) parseOrientation (const std::string &orientationStr)
 Convert the given string to azimuth orientation. More...
 
decltype(Azimuth::reference) parseReference (const std::string &referenceStr)
 Convert the given string to azimuth reference. More...
 
decltype(Azimuth::unit) parseUnit (const std::string &unitStr)
 Convert the given string to azimuth unit. More...
 
std::string referenceToString (decltype(Azimuth::reference) reference)
 Convert the given azimuth reference to string. More...
 
std::string unitToString (decltype(Azimuth::unit) unit)
 Convert the given azimuth unit to string. More...
 

Function Documentation

◆ orientationToString()

std::string compass_msgs::orientationToString ( decltype(Azimuth::orientation)  orientation)

Convert the given azimuth orientation to string.

Parameters
[in]orientationThe orientation.
Returns
The string.
Exceptions
std::runtime_errorIf the orientation is invalid.

◆ parseOrientation()

decltype(Azimuth::orientation) compass_msgs::parseOrientation ( const std::string &  orientationStr)

Convert the given string to azimuth orientation.

Parameters
[in]orientationStrA string describing the orientation.
Returns
The orientation.
Exceptions
std::runtime_errorIf the orientation is invalid.

◆ parseReference()

decltype(Azimuth::reference) compass_msgs::parseReference ( const std::string &  referenceStr)

Convert the given string to azimuth reference.

Parameters
[in]referenceStrA string describing the reference.
Returns
The reference.
Exceptions
std::runtime_errorIf the reference is invalid.

◆ parseUnit()

decltype(Azimuth::unit) compass_msgs::parseUnit ( const std::string &  unitStr)

Convert the given string to azimuth unit.

Parameters
[in]unitStrA string describing the unit.
Returns
The unit.
Exceptions
std::runtime_errorIf the unit is invalid.

◆ referenceToString()

std::string compass_msgs::referenceToString ( decltype(Azimuth::reference)  reference)

Convert the given azimuth reference to string.

Parameters
[in]referenceThe reference.
Returns
The string.
Exceptions
std::runtime_errorIf the reference is invalid.

◆ unitToString()

std::string compass_msgs::unitToString ( decltype(Azimuth::unit)  unit)

Convert the given azimuth unit to string.

Parameters
[in]unitThe unit.
Returns
The string.
Exceptions
std::runtime_errorIf the unit is invalid.


compass_msgs
Author(s): Martin Pecka
autogenerated on Wed Jan 8 2025 04:03:08