Template Function geodesy::direct(const geographic_msgs::msg::GeoPoint&, const geometry_msgs::msg::Vector3&)
Defined in File geodesics.h
Function Documentation
-
template<typename EllipsoidParameters>
static geographic_msgs::msg::GeoPoint geodesy::direct(const geographic_msgs::msg::GeoPoint &p1, const geometry_msgs::msg::Vector3 &direction) Calculates the postion p2 from a direction vector from p1 on the specified ellipsoid. The direction vector is expected to have a zero z component.
- Parameters:
p1 – starting point in degrees. Altitude must be zero.
direction – direction vector with x (east) and y (north) components representing the azimuth and distance.