Function navtk::navutils::north_to_delta_lat
Defined in File navigation.hpp
Function Documentation
-
double navtk::navutils::north_to_delta_lat(double north_distance, double approx_lat, double altitude = 0.0)
Converts distance in meters along the North axis of the local level NED frame into radians of latitude with respect to the WGS-84 ellipsoid.
Example Use: You are at a position (
lat,lon,alt). You want to know what the longitude is at a point 10m to your north (positive latitude). That can be calculated using this function as:new_lat = lat + north_to_delta_lat(10.0, lat, alt)See also
See also
- Parameters
north_distance – Small distance in meters to convert (meters)
approx_lat – Approximate latitude (radians)
altitude – WGS-84 altitude (ellipsoidal) (meters)
- Returns
Equivalent distance expressed as radians of latitude (radians).