Package org.yamcs.time
Class TimeOfFlightEstimator
java.lang.Object
org.yamcs.time.TimeOfFlightEstimator
Time of flight estimator.
It returns time of flight between a spacecraft and a ground antenna by interpolating using user defined spline polynomials.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUsed for polynomial interpolation of time of flight based on ERT. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTimeOfFlightEstimator(String yamcsInstance, String clockName, boolean savePolynomials) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInterval(Instant ertStart, Instant ertStop, double[] polCoefficients) voidaddIntervals(Collection<TimeOfFlightEstimator.TofInterval> intervals) voiddeleteSplineIntervals(Instant start, Instant stop) doubleReturns time of flight of the signal received at ert at the ground station
-
Field Details
-
TDEF
-
-
Constructor Details
-
TimeOfFlightEstimator
public TimeOfFlightEstimator(String yamcsInstance, String clockName, boolean savePolynomials) throws InitException - Throws:
InitException
-
-
Method Details
-
getTof
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
-
addIntervals
-
deleteSplineIntervals
-