Template Function getUTMPosition(const T&, int&, bool&)
Defined in File cdd_getters_common.h
Function Documentation
-
template<typename T>
inline gm::PointStamped getUTMPosition(const T &reference_position, int &zone, bool &northp) Get the UTM Position defined by the given ReferencePosition.
The position is transformed into UTM by using GeographicLib::UTMUPS The altitude value is directly used as z-Coordinate
- Parameters:
reference_position – [in] ReferencePosition or ReferencePositionWithConfidence to get the UTM Position from
zone – [out] the UTM zone (zero means UPS)
northp – [out] hemisphere (true means north, false means south)
- Returns:
gm::PointStamped geometry_msgs::PointStamped of the given position