Package org.yamcs.time
Class TimeOfFlightEstimator.TofInterval
- java.lang.Object
-
- org.yamcs.time.TimeOfFlightEstimator.TofInterval
-
- Enclosing class:
- TimeOfFlightEstimator
public static class TimeOfFlightEstimator.TofInterval extends Object
Used for polynomial interpolation of time of flight based on ERT.Each interval has a start/stop and a set of polynomial coefficients.
The time of flight
tofcorresponding to a given earth reception timeertis given by the formula:delta = ert - ertStart tof =c[0] + c[1]*delta + c[2]*delta^2 + ...
whereertStartis the start of the interval andcare the polynomial coefficients.deltais the duration of the givenertfrom the interval start.deltaas well astofare expressed in seconds.
-
-
Constructor Summary
Constructors Constructor Description TofInterval(Instant ertStart, Instant ertStop, double[] polCoefficients)
-
-
-
Method Detail
-
fromTuple
public static TimeOfFlightEstimator.TofInterval fromTuple(Tuple tuple)
-
-