|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.foce.devices.controlLoop.BaseResponder
org.mbari.siam.foce.devices.controlLoop.VEL_Responder
public abstract class VEL_Responder
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.mbari.siam.distributed.devices.ProcessParameterIF |
|---|
ProcessParameterIF.DummyConstValues, ProcessParameterIF.DummyFIDMap, ProcessParameterIF.DummyIDMap, ProcessParameterIF.DummyIIDMap, ProcessParameterIF.DummyModeNames, ProcessParameterIF.DummyOIDMap, ProcessParameterIF.DummyParamNames, ProcessParameterIF.DummyRIDMap, ProcessParameterIF.DummySIDMap |
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
_log4j
Log4j logger |
protected static int |
AFT_THRUSTER_INDEX
|
protected static int |
FWD_THRUSTER_INDEX
|
protected static int |
NUMBER_OF_THRUSTER
|
static java.lang.String |
RECORD_HEADER
|
| Fields inherited from class org.mbari.siam.foce.devices.controlLoop.BaseResponder |
|---|
_attributes, _cfgPacketBuffer, _controlProcess, _correction, _dataPacket, _dataTurbineHost, _doTurbinate, _error, _esw_pump_amode, _esw_valve_amode, _lastDataPacket, _maxDataBytes, _offset, _packetBuffer, _packetParser, _ph_cmode, _ph_rmode, _previousError, _previousProcessValue, _processValue, _rawCorrection, _recordDelimiter, _recordType, _setPoint, _thruster_amode, _turbinator, _velocity_cmode, DELIMITERS |
| Constructor Summary | |
|---|---|
VEL_Responder(FOCEProcess controlProcess,
ControlLoopAttributes attributes)
|
|
| Method Summary | |
|---|---|
protected float |
applyConstraints(double correction)
Apply physical/operational constraints to the raw signal correction from the PID loop |
protected float |
getDeadBandCorrection()
|
java.lang.StringBuffer |
getSampleBuffer()
Return a sample buffer with current process data. |
SensorDataPacket |
getSamplePacket()
return a sensor data packet sub-classes should override |
void |
initialize()
initialize control loop |
protected void |
initTurbinator()
|
protected double[] |
thrusterCommands(double correction)
Get command updates to CO2 delivery valves |
float |
update()
update output: where the rubber is told to meet the road (update control loop) |
protected void |
updateInputs()
get any signals needed. |
protected void |
updateThrusterOutputs(double[] thrusterCommands)
Send command updates to inputs (CO2 delivery pump) |
| Methods inherited from class org.mbari.siam.foce.devices.controlLoop.BaseResponder |
|---|
getConfigBuffer, getCorrection, getLastSample, reset, showParsedData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.log4j.Logger _log4j
public static final java.lang.String RECORD_HEADER
protected static final int FWD_THRUSTER_INDEX
protected static final int AFT_THRUSTER_INDEX
protected static final int NUMBER_OF_THRUSTER
| Constructor Detail |
|---|
public VEL_Responder(FOCEProcess controlProcess,
ControlLoopAttributes attributes)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void initialize()
initialize in interface ControlResponseIFinitialize in class BaseResponderprotected void initTurbinator()
protected void updateInputs()
throws java.lang.Exception
updateInputs in class BaseResponderjava.lang.Exception
protected double[] thrusterCommands(double correction)
throws java.lang.Exception
java.lang.Exception
protected void updateThrusterOutputs(double[] thrusterCommands)
throws java.lang.Exception
java.lang.Exception
protected float applyConstraints(double correction)
throws java.lang.Exception
java.lang.Exception
protected float getDeadBandCorrection()
throws java.lang.Exception
java.lang.Exception
public float update()
throws java.lang.Exception
update in interface ControlResponseIFupdate in class BaseResponderjava.lang.Exceptionpublic SensorDataPacket getSamplePacket()
getSamplePacket in interface ControlResponseIFgetSamplePacket in class BaseResponder
public java.lang.StringBuffer getSampleBuffer()
throws java.lang.Exception
getSampleBuffer in interface ControlResponseIFgetSampleBuffer in class BaseResponderjava.lang.Exception
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||