Function etsi_its_denm_msgs::access::setFromUTMPosition
Defined in File denm_setters.h
Function Documentation
-
inline void etsi_its_denm_msgs::access::setFromUTMPosition(DENM &denm, const gm::PointStamped &utm_position, const int &zone, const bool &northp)
Set the ReferencePosition of a DENM 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:
denm – [out] DENM for which to set the ReferencePosition
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)