public class MissionResultsElements extends Object
| Constructor and Description | 
|---|
| MissionResultsElements() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | addMissionResultsSampledResult(Object results,
                              Object sample)Adds a sampled results element to the results element | 
| static void | addMissionResultsSampledResult(Object results,
                              Object sample,
                              int index)Adds a sampled results element to the results element | 
| static Object | createControlOrderElement(int vehicleType,
                         String description)Creates an empty control order element | 
| static EventLogElementType | createEventLogElement(String description)Creates an event log element | 
| static Object | createLogableEventElement(Object event,
                         int vehicleType,
                         double time)Creates a loggable event element | 
| static MissionResultsElementType | createMissionResultsElement(String description)Creates a mission results element | 
| static SampledResultsElementType | createSampledResultElement(String description)Creates a sampled results element | 
| static Object | createTelemetryElement(int vehicleType,
                      String description)Creates an empty telemetry element | 
| static double | getBodyCoordinateVelocityP(Object velocity)Returns the p (roll velocity) | 
| static double | getBodyCoordinateVelocityQ(Object velocity)Returns the q (pitch velocity) | 
| static double | getBodyCoordinateVelocityR(Object velocity)Returns the r (yaw velocity) | 
| static double | getBodyCoordinateVelocityU(Object velocity)Returns the u (forward velocity) | 
| static double | getBodyCoordinateVelocityV(Object velocity)Returns the v (lateral velocity) | 
| static double | getBodyCoordinateVelocityW(Object velocity)Returns the w (vertical velocity) | 
| static double | getDopplerVelocitySOGU(Object velocity)Returns the forward speed over the ground | 
| static double | getDopplerVelocitySOGV(Object velocity)Returns the lateral speed over the ground | 
| static double | getDopplerVelocitySTMU(Object velocity)Returns the forward speed through the medium (water or air) | 
| static double | getDopplerVelocitySTMV(Object velocity)Returns the lateral speed through the medium (water or air) | 
| static String | getEventLogElementDescription(Object log)Returns the description attribute of the event log element | 
| static String | getMissionResultsDescription(Object results)Returns the description attribute of the mission results element | 
| static SampledResultsElementType | getMissionResultsSampledResult(Object results,
                              int index)Returns the sampled result specified by the index | 
| static int | getMissionResultsSampledResultIndex(Object results,
                                   Object sample)Returns the index of a specific sampled results object | 
| static double | getOrientationElementPhi(Object posture)Returns the value of phi (roll) | 
| static double | getOrientationElementPsi(Object posture)Returns the value of psi (yaw) | 
| static double | getOrientationElementTheta(Object posture)Returns the value of theta (pitch) | 
| static Object | getSampledResultControlOrder(Object sample)Returns the control order element (if present) of the sampled results element | 
| static int | getSampledResultControlOrderType(Object sample)Returns the telemetry element (if present) of the sampled results element | 
| static String | getSampledResultsDescription(Object sample)Returns the description attribute of the sampled results element | 
| static Object | getSampledResultTelemetry(Object sample)Returns the telemetry element (if present) of the sampled results element | 
| static int | getSampledResultTelemetryType(Object sample)Returns the telemetry element (if present) of the sampled results element | 
| static Object | getTelemetryElementBodyCoordinateVelocity(Object newTelemetry)Returns the body coordinate velocity element of the telemetry | 
| static String | getTelemetryElementDescription(Object newTelemetry)Returns the description attribute of the telemetry element | 
| static Object | getTelemetryElementDopplerVelocity(Object newTelemetry)Returns the world coordinate velocity element of the telemetry | 
| static Object | getTelemetryElementGeography(Object newTelemetry)Returns the geographic position element of the telemetry | 
| static Object | getTelemetryElementOrientation(Object newTelemetry)Returns the orientation element of the telemetry | 
| static int | getTelemetryElementVehicleType(Object newTelemetry)Returns an enumeration for the type of vehicle the telemetry element pertains to | 
| static Object | getTelemetryElementVertical(Object newTelemetry)Returns the vertical position element of the telemetry | 
| static Object | getTelemetryElementWorldCoordinateVelocity(Object newTelemetry)Returns the world coordinate velocity element of the telemetry | 
| static double | getTelemetryVerticalElementValue1(Object newVerticalPositionElement)Returns the first vertical value of the vertical position element | 
| static double | getTelemetryVerticalElementValue2(Object newVerticalPositionElement)Returns the second vertical value of the vertical position element | 
| static JAXBElement<?> | getUavLoggableEventType(Object event) | 
| static JAXBElement<?> | getUgvLoggableEventType(Object event) | 
| static JAXBElement<?> | getUsvLoggableEventType(Object event) | 
| static JAXBElement<?> | getUuvLoggableEventType(Object event) | 
| static double | getWorldCoordinateVelocityPhiDot(Object velocity)Returns the phi-dot (roll velocity) | 
| static double | getWorldCoordinateVelocityPsiDot(Object velocity)Returns the psi-dot (yaw velocity) | 
| static double | getWorldCoordinateVelocityThetaDot(Object velocity)Returns the theta-dot (pitch velocity) | 
| static double | getWorldCoordinateVelocityXDot(Object velocity)Returns the x-dot (forward velocity) | 
| static double | getWorldCoordinateVelocityYDot(Object velocity)Returns the y-dot (lateral velocity) | 
| static double | getWorldCoordinateVelocityZDot(Object velocity)Returns the z-dot (vertical velocity) | 
| static void | logMissionEvent(Object log,
               Object newEvent,
               int vehicleType,
               double time)Repeats a mission script element in the telemetry file to allow playback | 
| static void | removeMissionResultsSampledResult(Object results,
                                 int index)Removes a sampled results element from the results element | 
| static void | removeMissionResultsSampledResult(Object results,
                                 Object sample)Removes a sampled results element from the results element | 
| static void | setControlOrderElementDescription(Object newOrder,
                                 String description)Sets the description attribute of a ControlOrder element | 
| static void | setEventLogElementDescription(Object log,
                             String description)Sets the description attribute of the event log element | 
| static void | setMissionResultsDescription(Object results,
                            String description)Sets the description attribute of the mission results element | 
| static void | setSampledResultControlOrders(Object sample,
                             Object telemetry)Sets the sampled results control order as appropriate | 
| static void | setSampledResultDescription(Object sample,
                           String description)Sets the description attribute of the sampled results element | 
| static void | setSampledResultTelemetry(Object sample,
                         Object telemetry)Sets the sampled results telemetry as appropriate | 
| static void | setTelemetryElementBodyVelocity(Object newTelemetry,
                               double u,
                               double v,
                               double w,
                               double p,
                               double q,
                               double r)Sets the telemetry element body coordinate velocity element | 
| static void | setTelemetryElementDescription(Object newTelemetry,
                              String description)Sets the description attribute of a telemetry element | 
| static void | setTelemetryElementDopplerVelocity(Object newTelemetry,
                                  double sogU,
                                  double sogV,
                                  double stmU,
                                  double stmV)Sets the telemetry element doppler velocity element | 
| static void | setTelemetryElementGeography(Object newTelemetry,
                            int positType,
                            double x,
                            double y)Sets the telemetry element geographic position element | 
| static void | setTelemetryElementOrientation(Object newTelemetry,
                              double phi,
                              double theta,
                              double psi)Sets the telemetry element orientation element | 
| static void | setTelemetryElementVertical(Object newTelemetry,
                           double vert1,
                           double vert2)Sets the vertical position element of the telemetry | 
| static void | setTelemetryElementWorldVelocity(Object newTelemetry,
                                double xDot,
                                double yDot,
                                double zDot,
                                double phiDot,
                                double thetaDot,
                                double psiDot)Sets the telemetry element world coordinate velocity element | 
public static MissionResultsElementType createMissionResultsElement(String description)
description - public static SampledResultsElementType getMissionResultsSampledResult(Object results, int index)
results - index - public static int getMissionResultsSampledResultIndex(Object results, Object sample)
results - sample - public static String getMissionResultsDescription(Object results)
results - public static void setMissionResultsDescription(Object results, String description)
results - description - public static void addMissionResultsSampledResult(Object results, Object sample)
results - sample - public static void addMissionResultsSampledResult(Object results, Object sample, int index)
results - sample - index - public static void removeMissionResultsSampledResult(Object results, int index)
results - index - public static void removeMissionResultsSampledResult(Object results, Object sample)
results - sample - public static SampledResultsElementType createSampledResultElement(String description)
description - public static Object getSampledResultTelemetry(Object sample)
sample - public static int getSampledResultTelemetryType(Object sample)
sample - public static Object getSampledResultControlOrder(Object sample)
sample - public static int getSampledResultControlOrderType(Object sample)
sample - public static String getSampledResultsDescription(Object sample)
sample - public static void setSampledResultTelemetry(Object sample, Object telemetry)
sample - telemetry - public static void setSampledResultControlOrders(Object sample, Object telemetry)
sample - telemetry - public static void setSampledResultDescription(Object sample, String description)
sample - description - public static Object createTelemetryElement(int vehicleType, String description)
vehicleType - integer enumeration for the type of vehicledescription - public static int getTelemetryElementVehicleType(Object newTelemetry)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypeAvclMission.UAV, AvclMission.UGV, AvclMission.USV, AvclMission.UUV, AvclMission.NOVALUE,public static Object getTelemetryElementGeography(Object newTelemetry)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypepublic static Object getTelemetryElementVertical(Object newTelemetry)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypepublic static Object getTelemetryElementOrientation(Object newTelemetry)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypepublic static Object getTelemetryElementBodyCoordinateVelocity(Object newTelemetry)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypepublic static Object getTelemetryElementWorldCoordinateVelocity(Object newTelemetry)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypepublic static Object getTelemetryElementDopplerVelocity(Object newTelemetry)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypeDopplerVelocityElementTypepublic static String getTelemetryElementDescription(Object newTelemetry)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypepublic static void setTelemetryElementGeography(Object newTelemetry, int positType, double x, double y)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypepositType - x - y - public static void setTelemetryElementVertical(Object newTelemetry, double vert1, double vert2)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypevert2 - vert1 - public static void setTelemetryElementOrientation(Object newTelemetry, double phi, double theta, double psi)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypepsi - theta - phi - public static void setTelemetryElementBodyVelocity(Object newTelemetry, double u, double v, double w, double p, double q, double r)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTyper - u - v - p - w - q - public static void setTelemetryElementWorldVelocity(Object newTelemetry, double xDot, double yDot, double zDot, double phiDot, double thetaDot, double psiDot)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypexDot - thetaDot - psiDot - zDot - yDot - phiDot - public static void setTelemetryElementDopplerVelocity(Object newTelemetry, double sogU, double sogV, double stmU, double stmV)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypesogU - sogV - stmV - stmU - public static void setTelemetryElementDescription(Object newTelemetry, String description)
newTelemetry - UavTelemetryElementType, UgvTelemetryElementType, UsvTelemetryElementType, UuvTelemetryElementTypedescription - public static Object createControlOrderElement(int vehicleType, String description)
vehicleType - integer enumeration for the type of vehicle: AvclMission.UUV, AvclMission.UGV, AvclMission.USV or AvclMission.UAVdescription - public static void setControlOrderElementDescription(Object newOrder, String description)
newOrder - description - public static double getTelemetryVerticalElementValue1(Object newVerticalPositionElement)
newVerticalPositionElement - public static double getTelemetryVerticalElementValue2(Object newVerticalPositionElement)
newVerticalPositionElement - public static double getOrientationElementPhi(Object posture)
posture - public static double getOrientationElementTheta(Object posture)
posture - public static double getOrientationElementPsi(Object posture)
posture - public static double getBodyCoordinateVelocityU(Object velocity)
velocity - Vehicle velocity vectorpublic static double getBodyCoordinateVelocityV(Object velocity)
velocity - Vehicle velocity vectorpublic static double getBodyCoordinateVelocityW(Object velocity)
velocity - Vehicle velocity vectorpublic static double getBodyCoordinateVelocityP(Object velocity)
velocity - Vehicle velocity vectorpublic static double getBodyCoordinateVelocityQ(Object velocity)
velocity - Vehicle velocity vectorpublic static double getBodyCoordinateVelocityR(Object velocity)
velocity - Vehicle velocity vectorpublic static double getWorldCoordinateVelocityXDot(Object velocity)
velocity - Vehicle velocity vectorpublic static double getWorldCoordinateVelocityYDot(Object velocity)
velocity - Vehicle velocity vectorpublic static double getWorldCoordinateVelocityZDot(Object velocity)
velocity - Vehicle velocity vectorpublic static double getWorldCoordinateVelocityPhiDot(Object velocity)
velocity - Vehicle velocity vectorpublic static double getWorldCoordinateVelocityThetaDot(Object velocity)
velocity - Vehicle velocity vectorpublic static double getWorldCoordinateVelocityPsiDot(Object velocity)
velocity - Vehicle velocity vectorpublic static double getDopplerVelocitySOGU(Object velocity)
velocity - Vehicle velocity vectorpublic static double getDopplerVelocitySOGV(Object velocity)
velocity - Vehicle velocity vectorpublic static double getDopplerVelocitySTMU(Object velocity)
velocity - Vehicle velocity vectorpublic static double getDopplerVelocitySTMV(Object velocity)
velocity - Vehicle velocity vectorpublic static EventLogElementType createEventLogElement(String description)
description - public static String getEventLogElementDescription(Object log)
log - public static void setEventLogElementDescription(Object log, String description)
log - description - public static Object createLogableEventElement(Object event, int vehicleType, double time)
event - time - vehicleType - public static void logMissionEvent(Object log, Object newEvent, int vehicleType, double time)
log - the wrapper shell of the mission script to logtime - the simulation time of the eventnewEvent - the original mission script to logvehicleType - the type vehicle running a missionpublic static JAXBElement<?> getUuvLoggableEventType(Object event)
event - the event to parse for relationship to a UuvLoggableEventTypepublic static JAXBElement<?> getUavLoggableEventType(Object event)
event - the event to parse for relationship to a UavLoggableEventTypepublic static JAXBElement<?> getUsvLoggableEventType(Object event)
event - the event to parse for relationship to a UsvLoggableEventTypepublic static JAXBElement<?> getUgvLoggableEventType(Object event)
event - the event to parse for relationship to a UgvLoggableEventType