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 parametervoidDeprecated.voidDeprecated.voidDeprecated.voidPrint a debug message in the Yamcs log.voidDeprecated.voidDeprecated.voidDeprecated.voidPrint an error message in the Yamcs log.voidDeprecated.voidDeprecated.voidDeprecated.instance()longletohl(int value) Little endian to hostvoidPrint a message in the Yamcs log.returns the processor name if the algorithm is running in a processor or null otherwiselongvoidDeprecated.voidDeprecated.voidDeprecated.voidPrint a trace message in the Yamcs log.voidPrint a warning message in the Yamcs log.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.
-
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
-
trace
Print a trace message in the Yamcs log. If tracing is enabled on the algorithm, it is also added to the trace log. -
debug
Print a debug message in the Yamcs log. If tracing is enabled on the algorithm, it is also added to the trace log. -
log
Print a message in the Yamcs log. If tracing is enabled on the algorithm, it is also added to the trace log. -
warn
Print a warning message in the Yamcs log. If tracing is enabled on the algorithm, it is also added to the trace log. -
error
Print an error message in the Yamcs log. If tracing is enabled on the algorithm, it is also added to the trace log. -
info
Deprecated. -
info
Deprecated. -
info
Deprecated. -
watch
Deprecated. -
watch
Deprecated. -
watch
Deprecated. -
warning
Deprecated. -
warning
Deprecated. -
warning
Deprecated. -
distress
Deprecated. -
distress
Deprecated. -
distress
Deprecated. -
critical
Deprecated. -
critical
Deprecated. -
critical
Deprecated. -
severe
Deprecated. -
severe
Deprecated. -
severe
Deprecated. -
processorName
returns the processor name if the algorithm is running in a processor or null otherwise -
letohl
public long letohl(int value) Little endian to host
-