Class ECItoECEFFrameConverter

java.lang.Object
com.irurueta.navigation.frames.converters.ECItoECEFFrameConverter
All Implemented Interfaces:
TimeIntervalFrameConverter<ECIFrame,ECEFFrame>

public class ECItoECEFFrameConverter extends Object implements TimeIntervalFrameConverter<ECIFrame,ECEFFrame>
Converts from ECI frame to ECEF 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/ECI_to_ECEF.m
  • Field Details

    • EARTH_ROTATION_RATE

      public static final double EARTH_ROTATION_RATE
      Earth rotation rate expressed in radians per second (rad/s).
      See Also:
  • Constructor Details

    • ECItoECEFFrameConverter

      public ECItoECEFFrameConverter()
  • Method Details

    • convertAndReturnNew

      public ECEFFrame convertAndReturnNew(double timeInterval, ECIFrame source)
      Converts source ECI frame to a new ECEF frame instance.
      Specified by:
      convertAndReturnNew in interface TimeIntervalFrameConverter<ECIFrame,ECEFFrame>
      Parameters:
      timeInterval - a time interval expressed in seconds (s).
      source - source frame to convert from.
      Returns:
      a new destination frame instance.
    • convertAndReturnNew

      public ECEFFrame convertAndReturnNew(com.irurueta.units.Time timeInterval, ECIFrame source)
      Converts source frame to a new destination frame instance.
      Specified by:
      convertAndReturnNew in interface TimeIntervalFrameConverter<ECIFrame,ECEFFrame>
      Parameters:
      timeInterval - a time interval.
      source - source frame to convert from.
      Returns:
      a new destination frame instance.
    • convert

      public void convert(double timeInterval, ECIFrame source, ECEFFrame destination)
      Converts source ECI frame to destination ECEF frame.
      Specified by:
      convert in interface TimeIntervalFrameConverter<ECIFrame,ECEFFrame>
      Parameters:
      timeInterval - a time interval expressed in seconds (s).
      source - source frame to convert from.
      destination - destination frame instance to convert to.
    • convert

      public void convert(com.irurueta.units.Time timeInterval, ECIFrame source, ECEFFrame destination)
      Converts source frame to destination frame.
      Specified by:
      convert in interface TimeIntervalFrameConverter<ECIFrame,ECEFFrame>
      Parameters:
      timeInterval - a time interval.
      source - source frame to convert from.
      destination - destination frame instance to covert to.
    • getSourceType

      public FrameType getSourceType()
      Gets source frame type.
      Specified by:
      getSourceType in interface TimeIntervalFrameConverter<ECIFrame,ECEFFrame>
      Returns:
      source frame type.
    • getDestinationType

      public FrameType getDestinationType()
      Gets destination frame type.
      Specified by:
      getDestinationType in interface TimeIntervalFrameConverter<ECIFrame,ECEFFrame>
      Returns:
      destination frame type.
    • convertECItoECEFAndReturnNew

      public static ECEFFrame convertECItoECEFAndReturnNew(double timeInterval, ECIFrame source)
      Converts source ECI frame to a new ECEF frame instance.
      Parameters:
      timeInterval - a time interval expressed in seconds (s).
      source - source frame to convert from.
      Returns:
      a new destination frame instance.
    • convertECItoECEFAndReturnNew

      public static ECEFFrame convertECItoECEFAndReturnNew(com.irurueta.units.Time timeInterval, ECIFrame source)
      Converts source ECI frame to a new ECEF frame instance.
      Parameters:
      timeInterval - a time interval.
      source - source frame to convert from.
      Returns:
      a new destination frame instance.
    • convertECItoECEF

      public static void convertECItoECEF(double timeInterval, ECIFrame source, ECEFFrame destination)
      Converts source ECI frame to destination ECEF frame.
      Parameters:
      timeInterval - a time interval expressed in seconds (s).
      source - source frame to convert from.
      destination - destination frame instance to convert to.
    • convertECItoECEF

      public static void convertECItoECEF(com.irurueta.units.Time timeInterval, ECIFrame source, ECEFFrame destination)
      Converts source ECI frame to destination ECEF frame.
      Parameters:
      timeInterval - a time interval.
      source - source frame to convert from.
      destination - destination frame instance to convert to.