public class UgvMissionResults extends Object
Constructor and Description |
---|
UgvMissionResults() |
Modifier and Type | Method and Description |
---|---|
static Object |
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 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 UgvTelemetryElementType |
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 UGV 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 UgvLoggableEventType |
getEventWithContent(Object content,
double time)
Creates a UGV event log object and sets the content
|
static double |
getTelemetryElementAltitude(Object tel)
Returns the MSL altitude 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 |
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 |
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 MSL altitude 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 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 UgvTelemetryElementType 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
- UgvTelemetryElementType
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 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 setTelemetryElementAltitude(Object tel, double altitude)
tel
- the telemetry element objectaltitude
- value for the altitude 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 UgvLoggableEventType getEventWithContent(Object content, double time)
content
- time
- UgvLoggableEventType
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
- VehicleStatusUpdateElementType
public static FrequencyRecordElementType createSignalOfInterestRecordEvent(double frequency, int units, String content, String description)
frequency
- units
- content
- description
- FrequencyRecordElementType
public static Object createContactRecordEvent(int contactID, String name, int pType, double x, double y, double heading, double velocity, int vType, double v1, double v2, String description)
contactID
- description
- pType
- name
- y
- x
- velocity
- v1
- v2
- vType
- heading
- ContactRecordElementType
eventpublic static ContaminantRecordElementType createContaminantRecordEvent(int contaminant, int pType, double x, double y, int vType, double v1, double v2, String description)
contaminant
- v1
- pType
- x
- y
- vType
- description
- v2
- ContaminantRecordElementType