public class VehicleFormation extends FollowTrajectory
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector<java.lang.Double[]> |
participantOffsets
Offsets to main trajectory, in meters:
[0] Along-track offset
[1] Cross-track offset
[2] Depth (positive) offset
|
protected java.util.Vector<VehicleType> |
participants
list of participants
|
protected long |
startTime
Start time (required only for rendezvous) in milliseconds since 01-01-1970
|
adapter, editing, editingHelpText, hasTime, lastDragPoint, PERCENT_MPS_CONVERSION, points, RPM_MPS_CONVERSION, RPM_PERCENT_CONVERSION, showEditingText, speed, startLoc
circleDiam, COLOR_HELP, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, DEFAULT_ROOT_ELEMENT, endActions, id, startActions, T, vehicles, X, Y, Z
Constructor and Description |
---|
VehicleFormation() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone this maneuver
|
org.dom4j.Document |
getManeuverAsDocument(java.lang.String rootElementName)
Get each maneuver specific data.
|
protected javax.swing.JFormattedTextField |
getOffsetTextField() |
java.util.Vector<java.lang.Double[]> |
getParticipantOffsets() |
java.util.Vector<VehicleType> |
getParticipants() |
long |
getStartTime() |
void |
loadManeuverFromXML(java.lang.String xml)
Expects only maneuver specific data.
|
static void |
main(java.lang.String[] args) |
void |
mouseClicked(java.awt.event.MouseEvent event,
StateRenderer2D source) |
void |
parseIMCMessage(pt.lsts.imc.IMCMessage msg)
Parse an IMC message into this object fields
|
pt.lsts.imc.IMCMessage |
serializeToIMC() |
void |
setParticipantOffsets(java.util.Vector<java.lang.Double[]> participantOffsets) |
void |
setParticipants(java.util.Vector<VehicleType> participants) |
void |
setStartTime(long startTime) |
additionalProperties, editPointsDialog, focusGained, focusLost, getCompletionTime, getDistanceTravelled, getEndLocation, getIconImage, getManeuverLocation, getMaxDepth, getMinDepth, getMouseCursor, getName, getPathLocations, getPathPoints, getRadiusTolerance, getSpeed, getStartLocation, getTooltipText, getWaypoints, isEditing, isExclusive, isShowEditingText, keyPressed, keyReleased, keyTyped, mouseDragged, mouseExited, mouseMoved, mousePressed, mouseReleased, paintInteraction, paintOnMap, recalculateTimes, setActive, setAssociatedSwitch, setEditing, setManeuverLocation, setOffsets, setProperties, setShowEditingText, setSpeed, test1, translate, wheelMoved
addTransition, asDocument, asDocument, asElement, asElement, asXML, asXML, clone, cloneActions, compareTo, createFromXML, endManeuver, getCustomSettings, getCustomSettingsTypeHint, getEndActions, getIcon, getId, getManeuverXml, getMaxTime, getMinTime, getMissionType, getProperties, getPropertiesDialogTitle, getPropertiesErrors, getReacheableManeuvers, getSamePositionManeuvers, getStartActions, getTransitionCondition, getType, getXPosition, getYPosition, hasEnded, interpolate, isInitialManeuver, loadFromXMLExtraParameters, loadFromXMLExtraParameters, loadManeuverXml, loadXMLWithSettings, loadXMLWithSettings, loadXMLWithSettings, removeTransition, setCustomSettings, setCustomSettingsTypeHint, setId, setInitialManeuver, setMaxTime, setMinTime, setMissionType, setVehicle, setVehicles, setXPosition, setYPosition, toString
protected java.util.Vector<VehicleType> participants
protected java.util.Vector<java.lang.Double[]> participantOffsets
protected long startTime
public long getStartTime()
public void setStartTime(long startTime)
startTime
- the startTime to setpublic java.util.Vector<java.lang.Double[]> getParticipantOffsets()
public void setParticipantOffsets(java.util.Vector<java.lang.Double[]> participantOffsets)
participantOffsets
- the participantOffsets to setpublic java.util.Vector<VehicleType> getParticipants()
public void setParticipants(java.util.Vector<VehicleType> participants)
participants
- the participants to setpublic java.lang.Object clone()
Maneuver
clone
in class FollowTrajectory
public pt.lsts.imc.IMCMessage serializeToIMC()
serializeToIMC
in interface IMCSerialization
serializeToIMC
in class FollowTrajectory
public void parseIMCMessage(pt.lsts.imc.IMCMessage msg)
parseIMCMessage
in interface IMCSerialization
parseIMCMessage
in class FollowTrajectory
msg
- VehicleFormation IMC message to be parsedpublic org.dom4j.Document getManeuverAsDocument(java.lang.String rootElementName)
Maneuver
getManeuverAsDocument
in class FollowTrajectory
public void loadManeuverFromXML(java.lang.String xml)
Maneuver
loadManeuverFromXML
in class FollowTrajectory
protected javax.swing.JFormattedTextField getOffsetTextField()
public void mouseClicked(java.awt.event.MouseEvent event, StateRenderer2D source)
mouseClicked
in interface StateRendererInteraction
mouseClicked
in class FollowTrajectory
public static void main(java.lang.String[] args)
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.