public class UavMissionResults extends Object
Constructor and Description |
---|
UavMissionResults() |
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 UavControlOrdersElementType |
createControlOrderElement(double eng1,
double eng2,
double rudder,
double aileron,
double elevator,
String description)
Creates a UAV Orders element with enine power, rudder, aileron, and elevator 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 UavTelemetryElementType |
createTelemetryElement(int positType,
double x,
double y,
double mslAlt,
double phi,
double theta,
double psi,
double u,
double v,
double w,
double p,
double q,
double r,
String description)
Creates a UAV 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 UavLoggableEventType |
getEventWithContent(Object content,
double time)
Creates a UAV event log object and sets the content
|
static double |
getTelemetryElementAltitudeAGL(Object tel)
Returns the Above Ground Level (AGL) altitude of a telemetry element
|
static double |
getTelemetryElementAltitudeMSL(Object tel)
Returns the Mean Sea Level (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 up-down speed) of the telemetry element
|
static void |
setControlOrderElementAileron(Object order,
double aileron)
Sets the aileron portion of the control orders element
|
static void |
setControlOrderElementDescription(Object order,
String description)
Sets the description of a orders element
|
static void |
setControlOrderElementElevator(Object order,
double elevator)
Sets the elevator portion of the control orders element
|
static void |
setControlOrderElementEngine(Object order,
double e1,
double e2)
Sets the engine order element
|
static void |
setControlOrderElementRudder(Object order,
double rudder)
Sets the rudder portion of the control orders 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 |
setTelemetryElementAltitudeAGL(Object tel,
double altitude)
Sets the AGL altitude of a sampled result element
|
static void |
setTelemetryElementAltitudeMSL(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 UavTelemetryElementType createTelemetryElement(int positType, double x, double y, double mslAlt, 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
- mslAlt
- phi
- theta
- psi
- u
- v
- w
- p
- q
- r
- description
- UavTelemetryElementType
public static double getTelemetryElementAltitudeMSL(Object tel)
tel
- the telemetry element objectpublic static double getTelemetryElementAltitudeAGL(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 setTelemetryElementAltitudeMSL(Object tel, double altitude)
tel
- the telemetry element objectaltitude
- value for the altitude attributepublic static void setTelemetryElementAltitudeAGL(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 UavControlOrdersElementType createControlOrderElement(double eng1, double eng2, double rudder, double aileron, double elevator, String description)
eng1
- commanded engine 1 settingeng2
- commanded engine 2 settingrudder
- commanded rudder settingaileron
- commanded aileron settingelevator
- commanded elevator settingdescription
- UavControlOrdersElementType
public static String getControlOrderElementDescription(Object order)
order
- the control order element object to be timestampedpublic static void setControlOrderElementEngine(Object order, double e1, double e2)
order
- control order elemente1
- engine 1 power settinge2
- engine 2 power settingpublic static void setControlOrderElementRudder(Object order, double rudder)
order
- control order elementrudder
- commanded rudder deflectionpublic static void setControlOrderElementAileron(Object order, double aileron)
order
- control order elementaileron
- commanded rudder deflectionpublic static void setControlOrderElementElevator(Object order, double elevator)
order
- control order elementelevator
- commanded rudder deflectionpublic static void setControlOrderElementDescription(Object order, String description)
order
- the order element object to be timestampeddescription
- value for the description attributepublic static UavLoggableEventType getEventWithContent(Object content, double time)
content
- is the event Objecttime
- of eventUavLoggableEventType
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 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
- velocity
- pType
- heading
- x
- y
- v1
- vType
- description
- v2
- ContactRecordElementType
public static ContaminantRecordElementType createContaminantRecordEvent(int contaminant, int pType, double x, double y, int vType, double v1, double v2, String description)
contaminant
- pType
- v2
- x
- y
- vType
- v1
- description
- ContaminantRecordElementType