Function etsi_its_mapem_ts_msgs::access::setPosition3DFromUTMPosition
Defined in File mapem_ts_setters.h
Function Documentation
-
inline void etsi_its_mapem_ts_msgs::access::setPosition3DFromUTMPosition(Position3D &reference_position, const gm::PointStamped &utm_position, const int zone, const bool northp)
Set the Position3D from a given UTM-Position.
The position is transformed to latitude and longitude by using GeographicLib::UTMUPS The z-Coordinate is directly used as altitude value The frame_id of the given utm_position must be set to ‘utm_<zone><N/S>’
- Parameters:
reference_position – [out] Position3D to set
utm_position – [in] geometry_msgs::PointStamped describing the given utm position
zone – [in] the UTM zone (zero means UPS) of the given position
northp – [in] hemisphere (true means north, false means south)