public class AlgorithmUtils extends Object
The java method AlgorithmUtils.[method] is available in scripts as Yamcs.[method]
| Constructor and Description |
|---|
AlgorithmUtils(String yamcsInstance,
ProcessorData processorData,
Processor processor,
XtceDb xtcedb,
String algorithmName) |
| Modifier and Type | Method and Description |
|---|---|
Object |
calibrate(int raw,
String parameter)
Calibrate raw value according to the calibration rule of the given parameter
|
void |
error(String msg) |
void |
error(String type,
String msg) |
void |
info(String msg) |
void |
info(String type,
String msg) |
String |
instance() |
long |
letohl(int value)
Little endian to host long
|
String |
processorName()
returns the processor name if the algorithm is running in a processor or null otherwise
|
void |
warning(String msg) |
void |
warning(String type,
String msg) |
public AlgorithmUtils(String yamcsInstance, ProcessorData processorData, Processor processor, XtceDb xtcedb, String algorithmName)
public Object calibrate(int raw, String parameter)
public String instance()
public void info(String msg)
public void warning(String msg)
public void error(String msg)
public String processorName()
public long letohl(int value)
Copyright © 2018 Space Applications Services. All rights reserved.