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 class
Used 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 TypeMethodDescriptionvoid
addInterval
(Instant ertStart, Instant ertStop, double[] polCoefficients) void
addIntervals
(Collection<TimeOfFlightEstimator.TofInterval> intervals) void
deleteSplineIntervals
(Instant start, Instant stop) double
Returns 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
-