Template Function geodesy::direct(const geographic_msgs::msg::GeoPoint&, double, double)

Function Documentation

template<typename EllipsoidParameters>
static geographic_msgs::msg::GeoPoint geodesy::direct(const geographic_msgs::msg::GeoPoint &p1, double azimuth, double distance)

Calculates the postion p2 from azimuth and distance from p1 on the specified ellipsoid.

Parameters:
  • p1 – starting point in degrees. Altitude must be zero.

  • azimuth – clockwise angle in radians relative to north.

  • distance – distance in meters.