Uses of Class
org.yamcs.time.Instant
-
Uses of Instant in org.yamcs
Modifier and TypeMethodDescriptionTmPacket.getEarthReceptionTime()
Returns the time when the packet has been received on earth orTimeEncoding.INVALID_INSTANT
if it has not been set.Modifier and TypeMethodDescriptionvoid
TmPacket.setEarthRceptionTime
(Instant ertime) Deprecated.void
TmPacket.setEarthReceptionTime
(Instant ertime) -
Uses of Instant in org.yamcs.tctm.ccsds
Modifier and TypeMethodDescriptionprotected void
AbstractTmFrameLink.handleFrame
(Instant ert, byte[] data, int offset, int length) sends a frame to the multiplexer, after decoding and derandomizing it (if necessary)void
MasterChannelFrameHandler.handleFrame
(Instant ertime, byte[] data, int offset, int length) void
FrameStreamHelper.sendBadFrame
(int seq, Instant ertime, byte[] data, int offset, int length, String errMsg) void
DownlinkTransferFrame.setEearthRceptionTime
(Instant ertime) -
Uses of Instant in org.yamcs.time
Modifier and TypeMethodDescriptionstatic Instant
Instant.get
(long millis) Returns a new instant with the given milliseconds and the picos 0static Instant
Instant.get
(long millis, long picos) Create a new instant given the number of milliseconds and the number of picosecondsTimeCorrelationService.getHistoricalTime
(Instant obi, long obt) Returns the time when the on-board clock had the given value. obi is an approximative time used to search in history for the coefficients applicable at that time.default Instant
TimeService.getHresMissionTime()
TimeCorrelationService.getTime
(long obt) Returns the time when the on-board clock had the given value.Instant.plus
(double secs) Add the given number of seconds to this and return the resultAdd the given instant to this and return the result.Modifier and TypeMethodDescriptionvoid
TimeOfFlightEstimator.addInterval
(Instant ertStart, Instant ertStop, double[] polCoefficients) void
Add a time synchronisation sample.int
void
TimeOfFlightEstimator.deleteSplineIntervals
(Instant start, Instant stop) double
Compute the distance in seconds between this instant and the given instant.void
TimeCorrelationService.forceCoefficients
(Instant obi, long obt, double offset, double gradient) TimeCorrelationService.getHistoricalTime
(Instant obi, long obt) Returns the time when the on-board clock had the given value. obi is an approximative time used to search in history for the coefficients applicable at that time.double
Returns time of flight of the signal received at ert at the ground stationAdd the given instant to this and return the result.ModifierConstructorDescriptionTofInterval
(Instant ertStart, Instant ertStop, double[] polCoefficients) -
Uses of Instant in org.yamcs.utils
Modifier and TypeMethodDescriptionstatic Instant
TimeEncoding.fromProtobufHresTimestamp
(com.google.protobuf.Timestamp ts) Transforms protobuf Timestamp to high resolution instant.static Instant
TimeEncoding.fromUnixPicos
(long millis, int picos) Transforms UNIX time (milliseconds since 1970, picos in millisecond) to high resolution instantstatic Instant
TimeEncoding.getWallclockHresTime()
Sane asTimeEncoding.getWallclockTime()
but returns a high resolution instant.static Instant
Modifier and TypeMethodDescriptionstatic com.google.protobuf.Timestamp
TimeEncoding.toProtobufTimestamp
(Instant instant) Transforms the instant to protobuf timestamp performing the smearing around the leap seconds.