java.lang.Object
org.yamcs.algorithms.AlgorithmFunctions
Library of functions available from within Algorithm scripts using this naming scheme:
The java method AlgorithmFunctions.[method] is available in scripts as Yamcs.[method]
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCalibrate raw value according to the calibration rule of the given parametervoidvoidvoidvoidvoidvoidvoidvoidvoidinstance()longletohl(int value) Little endian to hostvoidreturns the processor name if the algorithm is running in a processor or null otherwiselongvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
DEFAULT_SOURCE
- See Also:
-
-
Constructor Details
-
AlgorithmFunctions
-
-
Method Details
-
calibrate
Calibrate raw value according to the calibration rule of the given parameter- Returns:
- a Float or String object
-
instance
-
processorTimeMillis
public long processorTimeMillis() -
processorTime
-
info
-
log
-
info
-
info
-
watch
-
watch
-
watch
-
warning
-
warning
-
warning
-
distress
-
distress
-
distress
-
critical
-
critical
-
critical
-
severe
-
severe
-
severe
-
processorName
returns the processor name if the algorithm is running in a processor or null otherwise- Returns:
-
letohl
public long letohl(int value) Little endian to host
-