Function etsi_its_mapem_ts_msgs::access::getUTMPositionWithConvergenceAngle

Function Documentation

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

Get the UTM Position defined by the given Position3D along with the grid-convergence angle.

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)

  • conv_angle[out] grid-convergence angle in degree

Returns:

gm::PointStamped geometry_msgs::PointStamped of the given position