public class UuvState extends StateVector
Modifier and Type | Field and Description |
---|---|
protected double |
altitude
doppler sonar altitude above the bottom
|
protected double |
ballast |
protected double |
bowLateralThruster
bow lateral thruster setting (volts)
|
protected double |
bowPlanes
bow plane setting (degrees)
|
protected double |
bowVerticalThruster
bow vertical thruster setting (volts)
|
protected double |
dopplerSOGU
doppler sonar forward speed over the ground
|
protected double |
dopplerSOGV
doppler sonar lateral speed over the ground
|
protected double |
dopplerSTWU
doppler sonar forward speed through the water
|
protected double |
dopplerSTWV
doppler sonar lateral speed through the water
|
protected double |
portPropeller
port propeller setting (rpm)
|
protected double |
remainingBatteryPower
remaining power available (percent battery)
|
protected double |
rudder
rudder setting (degrees)
|
protected double |
st1000Bearing
st1000 sonar bearing
|
protected double |
st1000Range
st1000 sonar range
|
protected double |
st1000Strength
st1000 sonar strength
|
protected double |
st725Bearing
st725 sonar bearing
|
protected double |
st725Range
st725 sonar range
|
protected double |
st725Strength
st725 sonar strength
|
protected double |
stbdPropeller
starboard propeller setting (rpm)
|
protected double |
sternLateralThruster
stern lateral thruster setting (volts)
|
protected double |
sternPlanes
stern plane setting (degrees)
|
protected double |
sternVerticalThruster
stern vertical thruster setting (volts)
|
Constructor and Description |
---|
UuvState(UuvExecution execution)
Constructor for a new state variable
|
Modifier and Type | Method and Description |
---|---|
double |
getAltitude() |
double |
getBallastSetting() |
double |
getBowLateralThrusterSetting() |
double |
getBowPlaneSetting() |
double |
getBowVerticalThrusterSetting() |
double |
getDopplerSOGU() |
double |
getDopplerSOGV() |
double |
getDopplerSTWU() |
double |
getDopplerSTWV() |
double[] |
getExtraDisState() |
double |
getPortPropSetting() |
double |
getRemainingPower() |
double |
getRudderSetting() |
double |
getSpeed() |
double |
getST1000Bearing() |
double |
getST1000Range() |
double |
getST1000Strength() |
double |
getST725Bearing() |
double |
getST725Range() |
double |
getST725Strength() |
double |
getStbdPropSetting() |
double |
getSternLateralThrusterSetting() |
double |
getSternPlaneSetting() |
double |
getSternVerticalThrusterSetting() |
protected void |
reset()
Reset state vector values prior to repeating another simulation loop
|
void |
setAltitude(double newValue) |
void |
setBallastSetting(double newValue) |
void |
setBowLateralThrusterSetting(double newValue) |
void |
setBowPlaneSetting(double newValue) |
void |
setBowVerticalThrusterSetting(double newValue) |
void |
setDopplerSOGU(double newValue) |
void |
setDopplerSOGV(double newValue) |
void |
setDopplerSTWU(double newValue) |
void |
setDopplerSTWV(double newValue) |
void |
setPortPropSetting(double newValue) |
void |
setRemainingPower(double newValue) |
void |
setRudderSetting(double newValue) |
void |
setST1000Bearing(double newValue) |
void |
setST1000Range(double newValue) |
void |
setST1000Strength(double newValue) |
void |
setST725Bearing(double newValue) |
void |
setST725Range(double newValue) |
void |
setST725Strength(double newValue) |
void |
setStbdPropSetting(double newValue) |
void |
setSternLateralThrusterSetting(double newValue) |
void |
setSternPlaneSetting(double newValue) |
void |
setSternVerticalThrusterSetting(double newValue) |
getP, getPhi, getPhiDot, getPsi, getPsiDot, getQ, getR, getSimulationTime, getTheta, getThetaDot, getU, getV, getVehicle, getW, getX, getXDot, getY, getYDot, getZ, getZDot, resetKinematics, setP, setPhi, setPhiDot, setPsi, setPsiDot, setQ, setR, setSimulationTime, setTheta, setThetaDot, setU, setV, setW, setX, setXDot, setY, setYDot, setZ, setZDot
protected double remainingBatteryPower
protected double bowPlanes
protected double sternPlanes
protected double rudder
protected double portPropeller
protected double stbdPropeller
protected double bowVerticalThruster
protected double sternVerticalThruster
protected double bowLateralThruster
protected double sternLateralThruster
protected double dopplerSTWU
protected double dopplerSTWV
protected double dopplerSOGU
protected double dopplerSOGV
protected double altitude
protected double st725Bearing
protected double st725Range
protected double st725Strength
protected double st1000Bearing
protected double st1000Range
protected double st1000Strength
protected double ballast
public UuvState(UuvExecution execution)
execution
- UuvExecution reference to uuv to which state vector appliesprotected void reset()
reset
in class StateVector
public double getRemainingPower()
public double getSpeed()
public double getBowPlaneSetting()
public double getSternPlaneSetting()
public double getRudderSetting()
public double getPortPropSetting()
public double getStbdPropSetting()
public double getBowVerticalThrusterSetting()
public double getSternVerticalThrusterSetting()
public double getBowLateralThrusterSetting()
public double getSternLateralThrusterSetting()
public double getDopplerSTWU()
public double getDopplerSTWV()
public double getDopplerSOGU()
public double getDopplerSOGV()
public double getAltitude()
public double getST725Bearing()
public double getST725Range()
public double getST725Strength()
public double getST1000Bearing()
public double getST1000Range()
public double getST1000Strength()
public void setRemainingPower(double newValue)
newValue
- the remaining power (percent battery)public void setBowPlaneSetting(double newValue)
newValue
- the uuv bow plane settingpublic void setSternPlaneSetting(double newValue)
newValue
- the uuv stern plane settingpublic void setRudderSetting(double newValue)
newValue
- the uuv rudder settingpublic void setPortPropSetting(double newValue)
newValue
- the uuv port propeller settingpublic void setStbdPropSetting(double newValue)
newValue
- the uuv starboard propeller settingpublic void setBowVerticalThrusterSetting(double newValue)
newValue
- the uuv bow vertical thruster settingpublic void setSternVerticalThrusterSetting(double newValue)
newValue
- the uuv stern vertical thruster settingpublic void setBowLateralThrusterSetting(double newValue)
newValue
- the uuv bow lateral thruster settingpublic void setSternLateralThrusterSetting(double newValue)
newValue
- the uuv stern lateral thruster settingpublic void setDopplerSTWU(double newValue)
newValue
- the uuv doppler sonar forward speed through the waterpublic void setDopplerSTWV(double newValue)
newValue
- the uuv doppler sonar lateral speed through the waterpublic void setDopplerSOGU(double newValue)
newValue
- the uuv doppler sonar forward speed over the groundpublic void setDopplerSOGV(double newValue)
newValue
- the uuv doppler sonar lateral speed over the groundpublic void setAltitude(double newValue)
newValue
- the uuv doppler sonar altitude above the bottompublic void setST725Bearing(double newValue)
newValue
- the st725 sonar bearingpublic void setST725Range(double newValue)
newValue
- the st725 sonar rangepublic void setST725Strength(double newValue)
newValue
- the st725 sonar strengthpublic void setST1000Bearing(double newValue)
newValue
- the st1000 sonar bearingpublic void setST1000Range(double newValue)
newValue
- the st1000 sonar rangepublic void setST1000Strength(double newValue)
newValue
- the st1000 sonar strengthpublic void setBallastSetting(double newValue)
public double getBallastSetting()
public double[] getExtraDisState()
getExtraDisState
in class StateVector