Function etsi_its_mapem_ts_msgs::access::getUTMPosition

Function Documentation

inline gm::PointStamped etsi_its_mapem_ts_msgs::access::getUTMPosition(const Position3D &reference_position, int &zone, bool &northp)

Get the UTM Position defined by the given Position3D.

The position is transformed into UTM by using GeographicLib::UTMUPS The altitude value is directly used as z-Coordinate

Parameters:
  • reference_position[in] Position3D 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