public class UuvMissionResults extends Object
Constructor and Description |
---|
UuvMissionResults() |
Modifier and Type | Method and Description |
---|---|
static ContactRecordElementType |
createContactRecordEvent(int contactID,
String name,
int pType,
double x,
double y,
double heading,
double velocity,
int vType,
double v1,
double v2,
String description)
Creates a GoalStatus loggable event element
|
static ContaminantRecordElementType |
createContaminantRecordEvent(int contaminant,
int pType,
double x,
double y,
int vType,
double v1,
double v2,
String description)
Creates a Contaminant loggable event element
|
static UuvControlOrdersElementType |
createControlOrderElement(double portProp,
double stbdProp,
double centerProp,
double rudder,
double bowPlane,
double sternPlane,
double bowLateral,
double sternLateral,
double bowVertical,
double sternVertical,
String description)
Creates a UUV Orders element with propeller, plane, rudder and body thruster settings
|
static UuvControlOrdersElementType |
createControlOrderElement(double portProp,
double stbdProp,
double centerProp,
double rudder,
double bowPlane,
double sternPlane,
String description)
Creates a UUV Orders element with propeller, plane and rudder settings
|
static GoalStatusUpdateElementType |
createGoalStatusEvent(Object goal,
String status,
String description)
Creates a GoalStatus loggable event element
|
static FrequencyRecordElementType |
createSignalOfInterestRecordEvent(double frequency,
int units,
String content,
String description)
Creates a SignalOfInterest loggable event element
|
static UuvTelemetryElementType |
createTelemetryElement(int positType,
double x,
double y,
double depth,
double phi,
double theta,
double psi,
double u,
double v,
double w,
double p,
double q,
double r,
String description)
Creates a UUV Telemetry element with position, orientation, and body coordinate velocity
|
static VehicleStatusUpdateElementType |
createVehicleStatusEvent(String system,
String status,
String description)
Creates a VehicleStatus loggable event element
|
static String |
getControlOrderElementDescription(Object order)
Returns the description of a control order element
|
static UuvLoggableEventType |
getEventWithContent(Object content,
double time)
Creates a UUV event log object and sets the content
|
static double |
getTelemetryElementAltitude(Object tel)
Returns the altitude above the bottom of a telemetry element
|
static String |
getTelemetryElementDescription(Object tel)
Returns the description of a telemetry element
|
static double |
getTelemetryElementPhiDot(Object tel)
Returns the phiDot (roll rate) of the telemetry element
|
static double |
getTelemetryElementPsiDot(Object tel)
Returns the psiDot (yaw rate) of the telemetry element
|
static double |
getTelemetryElementRemainingPower(Object tel)
Returns the remaining power value of the telemetry element
|
static double |
getTelemetryElementSOGU(Object tel)
Returns the forward speed over ground of the telemetry element
|
static double |
getTelemetryElementSOGV(Object tel)
Returns the lateral speed over ground of the telemetry element
|
static double |
getTelemetryElementSTWU(Object tel)
Returns the forward speed through the water of the telemetry element
|
static double |
getTelemetryElementSTWV(Object tel)
Returns the lateral speed through the water of the telemetry element
|
static double |
getTelemetryElementThetaDot(Object tel)
Returns the thetaDot (pitch rate) of the telemetry element
|
static double |
getTelemetryElementXDot(Object tel)
Returns the xDot (world coordinate north south speed) of the telemetry element
|
static double |
getTelemetryElementYDot(Object tel)
Returns the yDot (world coordinate east west speed) of the telemetry element
|
static double |
getTelemetryElementZDot(Object tel)
Returns the zDot (world coordinate vertical speed) of the telemetry element
|
static void |
setControlOrderElementDescription(Object order,
String description)
Sets the description of a orders element
|
static void |
setControlOrderElementPlanes(Object order,
double bow,
double stern)
Sets the control planes portion of the control orders element
|
static void |
setControlOrderElementPropeller(Object order,
double port,
double stbd,
double center)
Sets the propeller order element
|
static void |
setControlOrderElementRudder(Object order,
double rudder)
Sets the rudder portion of the control orders element
|
static void |
setControlOrderElementThrusters(Object order,
double bowLateral,
double sternLateral,
double bowVertical,
double sternVertical)
Sets the body thruster order element
|
static void |
setSampledResultsControlOrder(Object results,
Object orders)
Sets the control orders element of a SampledResults element object
|
static void |
setSampledResultsTelemetry(Object results,
Object telemetry)
Sets the telemetry element of a SampledResults element object
|
static void |
setTelemetryElementAltitude(Object tel,
double altitude)
Sets the altitude above the bottom of a sampled result element
|
static void |
setTelemetryElementDescription(Object tel,
String description)
Sets the description of a sampled result element
|
static void |
setTelemetryElementDopplerVelocity(Object tel,
double sogU,
double sogV,
double stwU,
double stwV)
Sets the world coordinate velocities of a telemetry element
|
static void |
setTelemetryElementRemainingPower(Object tel,
double power)
Sets the remaining battery power value of a sampled result element
|
static void |
setTelemetryElementWorldVelocity(Object tel,
double xDot,
double yDot,
double zDot,
double phiDot,
double thetaDot,
double psiDot)
Sets the world coordinate velocities of a telemetry element
|
public static void setSampledResultsTelemetry(Object results, Object telemetry)
results
- sampled results element objecttelemetry
- telemetry objectpublic static void setSampledResultsControlOrder(Object results, Object orders)
results
- sampled results element objectorders
- control orders element objectpublic static UuvTelemetryElementType createTelemetryElement(int positType, double x, double y, double depth, double phi, double theta, double psi, double u, double v, double w, double p, double q, double r, String description)
positType
- enumeration indicating latitude-longitude or X-Y positionx
- y
- depth
- phi
- theta
- psi
- u
- v
- w
- p
- q
- r
- description
- UuvTelemetryElementType
public static double getTelemetryElementAltitude(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementXDot(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementYDot(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementZDot(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementPhiDot(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementThetaDot(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementPsiDot(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementSOGU(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementSOGV(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementSTWU(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementSTWV(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementRemainingPower(Object tel)
tel
- the telemetry element object whose remaining power value is returnedpublic static String getTelemetryElementDescription(Object tel)
tel
- the telemetry element object to be timestampedpublic static void setTelemetryElementWorldVelocity(Object tel, double xDot, double yDot, double zDot, double phiDot, double thetaDot, double psiDot)
tel
- the telemetry element objectxDot
- yDot
- zDot
- phiDot
- thetaDot
- psiDot
- public static void setTelemetryElementDopplerVelocity(Object tel, double sogU, double sogV, double stwU, double stwV)
tel
- the telemetry element objectsogU
- forward speed over groundsogV
- lateral speed over groundstwU
- forward speed through waterstwV
- lateral speed through waterpublic static void setTelemetryElementAltitude(Object tel, double altitude)
tel
- the telemetry element objectaltitude
- value for the description attributepublic static void setTelemetryElementRemainingPower(Object tel, double power)
tel
- the telemetry element objectpower
- capacity value 0-100%public static void setTelemetryElementDescription(Object tel, String description)
tel
- the telemetry element object to be timestampeddescription
- value for the description attributepublic static UuvControlOrdersElementType createControlOrderElement(double portProp, double stbdProp, double centerProp, double rudder, double bowPlane, double sternPlane, String description)
portProp
- commanded port propeller settingstbdProp
- commanded starboard propeller settingcenterProp
- commanded centerline propeller settingrudder
- commanded rudder settingbowPlane
- commanded bow plane deflectionsternPlane
- commanded stern plane deflectiondescription
- UuvControlOrdersElementType
public static UuvControlOrdersElementType createControlOrderElement(double portProp, double stbdProp, double centerProp, double rudder, double bowPlane, double sternPlane, double bowLateral, double sternLateral, double bowVertical, double sternVertical, String description)
portProp
- commanded port propeller settingstbdProp
- commanded starboard propeller settingcenterProp
- commanded centerline propeller settingrudder
- commanded rudder settingbowPlane
- commanded bow plane deflectionsternPlane
- commanded stern plane deflectionbowLateral
- commanded bow lateral body thruster settingsternLateral
- commanded stern lateral body thruster settingbowVertical
- commanded bow vertical body thruster settingsternVertical
- commanded stern vertical body thruster settingdescription
- UuvControlOrdersElementType
public static String getControlOrderElementDescription(Object order)
order
- the control order element object to be timestampedpublic static void setControlOrderElementThrusters(Object order, double bowLateral, double sternLateral, double bowVertical, double sternVertical)
order
- control order elementbowLateral
- bow horizontal thruster settingsternLateral
- stern horizontal thruster settingbowVertical
- bow vertical thruster settingsternVertical
- stern vertical thruster settingpublic static void setControlOrderElementRudder(Object order, double rudder)
order
- control order elementrudder
- commanded rudder deflectionpublic static void setControlOrderElementPlanes(Object order, double bow, double stern)
order
- control order elementstern
- commanded stern plane deflectionbow
- commanded bow plane deflectionpublic static void setControlOrderElementPropeller(Object order, double port, double stbd, double center)
order
- control order elementport
- port propeller settingstbd
- starboard propeller settingcenter
- centerline propeller settingpublic static void setControlOrderElementDescription(Object order, String description)
order
- the order element object to be timestampeddescription
- value for the description attributepublic static UuvLoggableEventType getEventWithContent(Object content, double time)
content
- the JAXBElement<UuvLoggableEventType>time
- the loggable event timepublic static GoalStatusUpdateElementType createGoalStatusEvent(Object goal, String status, String description)
goal
- a goal objectstatus
- in string formdescription
- of goalpublic static VehicleStatusUpdateElementType createVehicleStatusEvent(String system, String status, String description)
system
- status
- description
- UuvTelemetryElementType
public static FrequencyRecordElementType createSignalOfInterestRecordEvent(double frequency, int units, String content, String description)
frequency
- units
- content
- description
- FrequencyRecordElementType
public static ContactRecordElementType createContactRecordEvent(int contactID, String name, int pType, double x, double y, double heading, double velocity, int vType, double v1, double v2, String description)
contactID
- name
- x
- pType
- vType
- y
- velocity
- heading
- v1
- v2
- description
- ContactRecordElementType
public static ContaminantRecordElementType createContaminantRecordEvent(int contaminant, int pType, double x, double y, int vType, double v1, double v2, String description)
contaminant
- vType
- pType
- y
- x
- v2
- v1
- description
- ContaminantRecordElementType