Package org.yamcs.protobuf
Class TimeCorrelationApiClient
@Generated(value="org.yamcs.maven.ServiceGenerator",
date="2026-01-13T08:54:03.656529365Z")
public class TimeCorrelationApiClient
extends AbstractTimeCorrelationApi<Void>
Methods related to the Time Correlation Service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddTimeOfFlightIntervals(Void ctx, AddTimeOfFlightIntervalsRequest request, Observer<com.google.protobuf.Empty> observer) Add intervals for the time of flight calculation.final voiddeleteTimeOfFlightIntervals(Void ctx, DeleteTimeOfFlightIntervalsRequest request, Observer<com.google.protobuf.Empty> observer) Delete intervals for the time of flight calculation.final voidgetConfig(Void ctx, GetTcoConfigRequest request, Observer<TcoConfig> observer) Get the TCO config Returns the TCO configuration comprising the accuracy, validity and the fixed delays.final voidgetStatus(Void ctx, GetTcoStatusRequest request, Observer<TcoStatus> observer) Get the TCO status Returns the TCO status comprising the currently used coefficients, the last computed deviation and the last received samples.final voidreset(Void ctx, TcoResetRequest request, Observer<com.google.protobuf.Empty> observer) Reset the time correlation.final voidsetCoefficients(Void ctx, SetCoefficientsRequest request, Observer<com.google.protobuf.Empty> observer) Set the TCO coefficients Manually set the coefficients to be used for time correlation.final voidsetConfig(Void ctx, SetTcoConfigRequest request, Observer<com.google.protobuf.Empty> observer) Set the TCO config Set the TCO configuration.Methods inherited from class org.yamcs.protobuf.AbstractTimeCorrelationApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
TimeCorrelationApiClient
-
-
Method Details
-
getConfig
Get the TCO config Returns the TCO configuration comprising the accuracy, validity and the fixed delays.
- Specified by:
getConfigin classAbstractTimeCorrelationApi<Void>
-
setConfig
public final void setConfig(Void ctx, SetTcoConfigRequest request, Observer<com.google.protobuf.Empty> observer) Set the TCO config Set the TCO configuration. The configuration is not persisted on disk.
- Specified by:
setConfigin classAbstractTimeCorrelationApi<Void>
-
getStatus
Get the TCO status Returns the TCO status comprising the currently used coefficients, the last computed deviation and the last received samples.
- Specified by:
getStatusin classAbstractTimeCorrelationApi<Void>
-
setCoefficients
public final void setCoefficients(Void ctx, SetCoefficientsRequest request, Observer<com.google.protobuf.Empty> observer) Set the TCO coefficients Manually set the coefficients to be used for time correlation. These will overwrite the automatic computed coefficients.
- Specified by:
setCoefficientsin classAbstractTimeCorrelationApi<Void>
-
reset
public final void reset(Void ctx, TcoResetRequest request, Observer<com.google.protobuf.Empty> observer) Reset the time correlation. The current used TCO coefficients are removed together with all collected samples.
- Specified by:
resetin classAbstractTimeCorrelationApi<Void>
-
addTimeOfFlightIntervals
public final void addTimeOfFlightIntervals(Void ctx, AddTimeOfFlightIntervalsRequest request, Observer<com.google.protobuf.Empty> observer) Add intervals for the time of flight calculation. Each ``[ertStart, ertStop)`` interval contains a polynomial function used to compute the time of flight for the given ``ert``. The intervals can overlap and are sorted in descending order of the start time. The first (highest start time) interval where the requested ert fits, will be used for the calculation. The formula used for calculating the time of flight for a frame/packet received at ``ert`` in the ``[ertStart, ertStop)`` interval is: ``delta = ert - ertStart`` ``tof = polCoef[0] + polCoef[1] * delta + polCoef[2] * delta^2 + ...`` The result of the polynomial is the ``tof`` expressed in seconds.- Specified by:
addTimeOfFlightIntervalsin classAbstractTimeCorrelationApi<Void>
-
deleteTimeOfFlightIntervals
public final void deleteTimeOfFlightIntervals(Void ctx, DeleteTimeOfFlightIntervalsRequest request, Observer<com.google.protobuf.Empty> observer) Delete intervals for the time of flight calculation. All the intervals with the start time falling in the requested [start, stop] interval will be removed.
- Specified by:
deleteTimeOfFlightIntervalsin classAbstractTimeCorrelationApi<Void>
-