Class TimeOfFlightEstimator

java.lang.Object
org.yamcs.time.TimeOfFlightEstimator

public class TimeOfFlightEstimator extends Object
Time of flight estimator.

It returns time of flight between a spacecraft and a ground antenna by interpolating using user defined spline polynomials.

  • Field Details

  • Constructor Details

  • Method Details

    • getTof

      public double getTof(Instant ert)
      Returns time of flight of the signal received at ert at the ground station
      Parameters:
      ert -
      Returns:
      time of flight in seconds or NaN if it cannot be computed
    • addInterval

      public void addInterval(Instant ertStart, Instant ertStop, double[] polCoefficients)
    • addIntervals

      public void addIntervals(Collection<TimeOfFlightEstimator.TofInterval> intervals)
    • deleteSplineIntervals

      public void deleteSplineIntervals(Instant start, Instant stop)