|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--RtjAocsFramework.BasicObjects.RootObject
|
+--RtjAocsFramework.BasicObjects.AocsObject
|
+--RtjAocsFramework.SequentialDataProcessing.AbstractControlChannel
|
+--RtjAocsFramework.SequentialDataProcessing.ControlChannelBlock
|
+--RtjAocsFramework.SequentialDataProcessing.MatlabBlock
|
+--RtjAocsFramework.SequentialDataProcessing.MatlabIntegratorBlock
Control block acting as a container for an autocode procedure generated by Matlab.
Copyright: see the Copyright Notice.
| Field Summary |
| Fields inherited from class RtjAocsFramework.SequentialDataProcessing.MatlabBlock |
matlabErrorRecoveryAction |
| Fields inherited from class RtjAocsFramework.SequentialDataProcessing.ControlChannelBlock |
dataSourceOutputPosition, initFlag, input, inputLink, onHold, output, outputBuffer, p, state, validityTime |
| Fields inherited from class RtjAocsFramework.SequentialDataProcessing.AbstractControlChannel |
ccLink, channelPropagation, enclosingControlChannel, lastPropagatedTime, m, n, noPropagation, propagationToken, recoveryAction, totalPropagation |
| Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable |
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM |
| Constructor Summary | |
MatlabIntegratorBlock(int samplingTime)
Creates a new MatlabIntegratorBlock object with the specified sampling time. |
|
| Method Summary | |
protected String |
ErrorStatus()
Getter method for the error status. |
protected double |
getGain()
Getter method for the tunable gain. |
protected double |
getInputSignal()
Getter method for the external input signal. |
protected double |
getOutputSignal()
Getter method for the external output signal. |
int |
getTelemetryImageLength()
Return the length in bits of the telemetry image that would be written by the object in response to a call to method writeToTelemetry. |
protected void |
init(boolean initFlag)
Initializes the real-time object, external inputs and outputs. |
protected void |
internalLoadInput()
Sets the input signal of the matlab model. |
protected void |
internalUpdateOutput()
Loads the value of the model output signal into output buffer. |
void |
reset()
Resets super object state and performs the local reset. |
void |
resetConfiguration()
Resets configuration of the super object and performs the local reset of the configuration. |
protected void |
setGain(double newGain)
Setter method for the tunable gain. |
protected void |
setInputSignal(double inputSignal)
Setter method for the external input signal. |
protected void |
step()
Performs all computations for one time step. |
protected void |
term()
Performs any cleanup operations. |
void |
writeToTelemetry(TelemetryStream stream)
Causes the object to write its own state to the telemetry stream. |
| Methods inherited from class RtjAocsFramework.SequentialDataProcessing.MatlabBlock |
finalizeMatlabBlock, getMatlabErrorRecoveryAction, propagationAlgorithm, setMatlabErrorRecoveryAction |
| Methods inherited from class RtjAocsFramework.SequentialDataProcessing.ControlChannelBlock |
getNumberOfStates, getOutput, getState, getValidityTime, isConfigured, isOnHold, linkInput, linkInput, propagate, resetMemory, setInput, setInputSize, setOnHold, setOutputSize, setState, setStateSize |
| Methods inherited from class RtjAocsFramework.SequentialDataProcessing.AbstractControlChannel |
getEnclosingControlChannel, getIllegalTimeRecoveryAction, getLastPropagatedTime, getNumberOfInputs, getNumberOfOutputs, getPropagationToken, reset, setEnclosingControlChannel, setIllegalTimeRecoveryAction, setNumberOfInputs, setNumberOfOutputs, setPropagationToken |
| Methods inherited from class RtjAocsFramework.BasicObjects.RootObject |
getClassId, getInstanceId, setClassId |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MatlabIntegratorBlock(int samplingTime)
samplingTime - the sampling time of the matlab model| Method Detail |
protected void init(boolean initFlag)
init in class MatlabBlockinitFlag - if the initFlag is true the function initializes data structures private to the model.
If the initFlag is false the model resets the model's states.protected void step()
step in class MatlabBlockprotected void term()
term in class MatlabBlockprotected void setInputSignal(double inputSignal)
inputSignal - a new value of the input signalprotected double getInputSignal()
protected double getOutputSignal()
protected void setGain(double newGain)
newGain - a new value of the gainprotected double getGain()
protected String ErrorStatus()
ErrorStatus in class MatlabBlockprotected void internalLoadInput()
internalLoadInput in class MatlabBlockprotected void internalUpdateOutput()
internalUpdateOutput in class MatlabBlockpublic void reset()
reset in interface Resettablereset in class MatlabBlockpublic void resetConfiguration()
resetConfiguration in interface ConfigurableresetConfiguration in class MatlabBlockpublic int getTelemetryImageLength()
getTelemetryImageLength in interface TelemeterablegetTelemetryImageLength in class MatlabBlockpublic void writeToTelemetry(TelemetryStream stream)
writeToTelemetry in interface TelemeterablewriteToTelemetry in class MatlabBlockstream - the telemetry stream
|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||