public class UsvMissionResults extends Object
Constructor and Description |
---|
UsvMissionResults() |
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 UsvControlOrdersElementType |
createControlOrderElement(double portProp,
double stbdProp,
double centerProp,
double rudder,
String description)
Creates a USV Orders element with propeller 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 UsvTelemetryElementType |
createTelemetryElement(int positType,
double x,
double y,
double phi,
double theta,
double psi,
double u,
double v,
double w,
double p,
double q,
double r,
String description)
Creates a USV 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 UsvLoggableEventType |
getEventWithContent(Object content,
double time)
Creates a USV event log object and sets the content
|
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 |
getTelemetryElementSTAU(Object tel)
Returns the forward speed through the air of the telemetry element
|
static double |
getTelemetryElementSTAV(Object tel)
Returns the lateral speed through the air 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 |
setControlOrderElementPropeller(Object order,
double port,
double stbd,
double center)
Sets the propeller order element
|
static void |
setControlOrderElementRudder(Object order,
double rudder)
Creates a rudder 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 |
setTelemetryElementDescription(Object tel,
String description)
Sets the description of a sampled result element
|
static void |
setTelemetryElementDopplerVelocity(Object tel,
double sogU,
double sogV,
double staU,
double staV)
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 UsvTelemetryElementType createTelemetryElement(int positType, double x, double y, 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
- phi
- theta
- psi
- u
- v
- w
- p
- q
- r
- description
- FrequencyRecordElementType
public 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 getTelemetryElementSTAU(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementSTAV(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 staU, double staV)
tel
- the telemetry element objectsogU
- forward speed over groundsogV
- lateral speed over groundstaU
- forward speed through airstaV
- lateral speed through airpublic 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 UsvControlOrdersElementType createControlOrderElement(double portProp, double stbdProp, double centerProp, double rudder, String description)
portProp
- commanded port propeller settingstbdProp
- commanded starboard propeller settingcenterProp
- commanded centerline propeller settingrudder
- commanded rudder settingdescription
- UsvControlOrdersElementType
public static String getControlOrderElementDescription(Object order)
order
- the control order element object to be timestampedpublic 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 setControlOrderElementRudder(Object order, double rudder)
order
- control order elementrudder
- commanded rudder deflectionpublic static void setControlOrderElementDescription(Object order, String description)
order
- the order element object to be timestampeddescription
- value for the description attributepublic static UsvLoggableEventType getEventWithContent(Object content, double time)
content
- time
- UsvLoggableEventType
public static GoalStatusUpdateElementType createGoalStatusEvent(Object goal, String status, String description)
goal
- status
- description
- GoalStatusUpdateElementType
public static VehicleStatusUpdateElementType createVehicleStatusEvent(String system, String status, String description)
system
- status
- description
- FrequencyRecordElementType
public static FrequencyRecordElementType createSignalOfInterestRecordEvent(double frequency, int units, String content, String description)
frequency
- units
- description
- content
- 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
- pType
- description
- x
- y
- heading
- velocity
- v2
- vType
- v1
- ContactRecordElementType
public static ContaminantRecordElementType createContaminantRecordEvent(int contaminant, int pType, double x, double y, int vType, double v1, double v2, String description)
contaminant
- pType
- y
- x
- v2
- v1
- vType
- description
- ContaminantRecordElementType