Class ECEFtoNEDFrameConverter
java.lang.Object
com.irurueta.navigation.frames.converters.ECEFtoNEDFrameConverter
- All Implemented Interfaces:
FrameConverter<ECEFFrame,
NEDFrame>
Converts from ECEF frame to NED frame.
This implementation is based on the equations defined in "Principles of GNSS, Inertial, and Multi-sensor
Integrated Navigation Systems, Second Edition" and on the companion software available at:
https://github.com/ymjdz/MATLAB-Codes/blob/master/ECEF_to_NED.m
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final double
Earth eccentricity as defined on the WGS84 ellipsoid.static final double
The equatorial radius of WGS84 ellipsoid (6378137 m) defining Earth's shape. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Converts source ECEF frame to destination NED frame.convertAndReturnNew
(ECEFFrame source) Converts source ECEF frame to a new NED frame instance.static void
convertECEFtoNED
(ECEFFrame source, NEDFrame destination) Converts source ECEF frame to destination NED frame.static NEDFrame
Converts source ECEF frame to a new NED frame instance.Gets destination frame type.Gets source frame type.
-
Field Details
-
EARTH_EQUATORIAL_RADIUS_WGS84
public static final double EARTH_EQUATORIAL_RADIUS_WGS84The equatorial radius of WGS84 ellipsoid (6378137 m) defining Earth's shape.- See Also:
-
EARTH_ECCENTRICITY
public static final double EARTH_ECCENTRICITYEarth eccentricity as defined on the WGS84 ellipsoid.- See Also:
-
-
Constructor Details
-
ECEFtoNEDFrameConverter
public ECEFtoNEDFrameConverter()
-
-
Method Details
-
getSourceType
Gets source frame type.- Specified by:
getSourceType
in interfaceFrameConverter<ECEFFrame,
NEDFrame> - Returns:
- source frame type.
-
getDestinationType
Gets destination frame type.- Specified by:
getDestinationType
in interfaceFrameConverter<ECEFFrame,
NEDFrame> - Returns:
- destination frame type.