ConfigReader * maxBuoyDiveAccelCfgReader_
From Vertical Control, get max dive accel under buoy control.
Definition: DepthServo.h:111
float holdValueIntegral_
Actual integral of depth (or its surrogate)
Definition: DepthServo.h:140
Contains the Trajectory class definition.
float integralGainSetting_
Specifies PID loop integral gain.
Definition: DepthServo.h:131
ConfigReader * maxDiveAccelCfgReader_
From Vertical Control, get max dive accel.
Definition: DepthServo.h:108
SettingReader * inputSettingReader_
Input variable to control.
Definition: DepthServo.h:79
virtual ~DepthServo()
Definition: DepthServo.cpp:65
A DataAccessor that reads values from the Slate Contains a default dataValue that must not be NULL...
Definition: DataReader.h:30
bool readParams()
Read in the parameters for satisfied or runIfUnsatisfied: return true if OK.
Definition: DepthServo.cpp:125
float holdValueSetting_
Desired depth of the vehicle, or surrogate for depth.
Definition: DepthServo.h:125
bool runIfUnsatisfied()
Do the run, and return true if envelope "satisfied".
Definition: DepthServo.cpp:203
SettingReader * proportionalGainSettingReader_
Specifies PID loop proportional gain – required if DepthSurrogate specified.
Definition: DepthServo.h:82
Behavior is the abstract base class for components that implement mission behaviors and commands...
Definition: Behavior.h:32
This is a helper class for Depthcontrol, HeadingControl, and SpeedControl which projects the state of...
Definition: Trajectory.h:18
float lastMeasuredValue_
Used to determine rate of change in hold value.
Definition: DepthServo.h:143
bool startBelowSetting_
Indicates difference between setting and position at initialization.
Definition: DepthServo.h:161
A DataAccessor that writes values to the Slate via its associated DataElement.
Definition: DataWriter.h:27
SettingReader * changePerMeterSettingReader_
Specifies approximate change per meter depth.
Definition: DepthServo.h:91
ConfigReader * maxBuoyDiveRateCfgReader_
From Vertical Control, get max dive rate under buoy control.
Definition: DepthServo.h:105
bool readConfig()
Read in relevant configuration values.
Definition: DepthServo.cpp:89
Contains the Behavior class definition.
SettingReader * holdValueSettingReader_
Desired depth of the vehicle, or surrogate for depth.
Definition: DepthServo.h:76
Module is the abstract base class for a collection of Component objects that can be contained in a lo...
Definition: Module.h:45
static Behavior * CreateBehavior(const Str &prefix, const Module *module)
Mission Component factory interface.
Definition: DepthServo.cpp:238
DataWriter * verticalModeWriter_
Sets the depth mode for dynamic control.
Definition: DepthServo.h:117
bool isSatisfied()
Just do the satisfied: return true if envelope "satisfied".
Definition: DepthServo.cpp:189
Replacement for standard template class string.
Definition: Str.h:12
float abortDepth_
Stores the abort depth of the vehicle.
Definition: DepthServo.h:155
void initialize(void)
Initialize function.
Definition: DepthServo.cpp:69
Definition: ConfigReader.h:13
DepthServo(const Str &prefix, const Module *module)
Definition: DepthServo.cpp:22
DataReader * speedCmdReader_
Speed being fed to speed Control.
Definition: DepthServo.h:99
float maxBuoyDiveAccel_
Definition: DepthServo.h:152
SettingReader * integralGainSettingReader_
Specifies PID loop integral gain – required if DepthSurrogate specified.
Definition: DepthServo.h:85
float derivativeGainSetting_
Specifies PID loop derivative gain.
Definition: DepthServo.h:134
Reads values from mission settings.
Definition: SettingReader.h:26
DataWriter * depthCmdWriter_
Sets the depth specification for Vertical Control.
Definition: DepthServo.h:120
void run()
Just do the run: ignore the results of the satisfied.
Definition: DepthServo.cpp:143
ConfigReader * abortDepthCfgReader_
Configuration Readers.
Definition: DepthServo.h:96
Contains the DepthServo Behavior/Command Uses depth, or the specified surrogate for depth to control ...
Definition: DepthServo.h:33
float maxBuoyDiveRate_
Definition: DepthServo.h:150
float changePerMeterSetting_
Used in state estimation.
Definition: DepthServo.h:137
float maxDiveAccel_
Definition: DepthServo.h:151
float proportionalGainSetting_
Specifies PID loop proportional gain.
Definition: DepthServo.h:128
void uninitialize(void)
Uninit function.
Definition: DepthServo.cpp:231
Trajectory trajectory_
Estimator for depth or its surrogate.
Definition: DepthServo.h:146
SettingReader * derivativeGainSettingReader_
Specifies PID loop derivative gain – required if DepthSurrogate specified.
Definition: DepthServo.h:88
bool calcSatisfied(const float measuredValue)
Perform the satisfied: return true if envelope "satisfied".
Definition: DepthServo.cpp:136
ConfigReader * maxDiveRateCfgReader_
From Vertical Control, get max dive rate.
Definition: DepthServo.h:102
float speedCmd_
Current speedCmd.
Definition: DepthServo.h:158
float maxDiveRate_
Used in estimating maxChangeRate_.
Definition: DepthServo.h:149
bool readSettings(float &measuredValue)
Read in settings.
Definition: DepthServo.cpp:99