public class StationKeeping extends Maneuver implements LocatedManeuver, IMCSerialization, StatisticsProvider
Maneuver.SPEED_UNITS, Maneuver.Z_UNITS| Modifier and Type | Field and Description |
|---|---|
static int |
INFINITY_DURATION |
static double |
MINIMUM_SK_RADIUS |
circleDiam, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, DEFAULT_ROOT_ELEMENT, endActions, id, startActions| Constructor and Description |
|---|
StationKeeping() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> |
additionalProperties() |
java.lang.Object |
clone()
A maneuver must have a way to clone itself.
|
double |
getCompletionTime(LocationType initialPosition) |
double |
getDistanceTravelled(LocationType initialPosition) |
int |
getDuration() |
ManeuverLocation |
getEndLocation()
Retrieve the position where the vehicle will end this maneuver
|
LocationType |
getLocation() |
org.dom4j.Document |
getManeuverAsDocument(java.lang.String rootElementName) |
ManeuverLocation |
getManeuverLocation()
Retrieve the position of the maneuver (position that can be dragged by the user)
|
double |
getMaxDepth() |
double |
getMinDepth() |
double |
getRadius() |
double |
getSpeed() |
java.lang.String |
getSpeedUnits() |
ManeuverLocation |
getStartLocation()
Retrieve the position where the vehicle will start this maneuver
|
java.lang.String |
getTooltipText() |
java.lang.String |
getType()
The extending classes should provide a type name that will be shown to the user related to that maneuver.
|
protected double |
getVelocityInMetersPerSeconds() |
void |
loadFromXML(java.lang.String XML) |
void |
paintOnMap(java.awt.Graphics2D g2d,
PlanElement planElement,
StateRenderer2D renderer) |
void |
parseIMCMessage(pt.lsts.imc.IMCMessage message) |
pt.lsts.imc.IMCMessage |
serializeToIMC() |
void |
setDuration(int duration) |
void |
setManeuverLocation(ManeuverLocation location)
Set the maneuver's position
|
void |
setProperties(com.l2fprod.common.propertysheet.Property[] properties) |
void |
setRadius(double radius) |
void |
setSpeed(double speed) |
void |
setSpeedUnits(java.lang.String speedUnits) |
void |
translate(double offsetNorth,
double offsetEast,
double offsetDown)
Translate the position of this maneuver
|
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, getXPosition, getYPosition, hasEnded, interpolate, isInitialManeuver, loadFromXMLExtraParameters, loadFromXMLExtraParameters, loadManeuverXml, removeTransition, setCustomSettings, setCustomSettingsTypeHint, setId, setInitialManeuver, setMaxTime, setMinTime, setMissionType, setXPosition, setYPosition, toStringpublic static final int INFINITY_DURATION
public static final double MINIMUM_SK_RADIUS
public java.lang.Object clone()
Maneuverpublic org.dom4j.Document getManeuverAsDocument(java.lang.String rootElementName)
getManeuverAsDocument in class Maneuverpublic java.lang.String getType()
Maneuverpublic void loadFromXML(java.lang.String XML)
loadFromXML in class Maneuverpublic ManeuverLocation getManeuverLocation()
LocatedManeuvergetManeuverLocation in interface LocatedManeuverpublic ManeuverLocation getStartLocation()
LocatedManeuvergetStartLocation in interface LocatedManeuverpublic ManeuverLocation getEndLocation()
LocatedManeuvergetEndLocation in interface LocatedManeuverpublic void setManeuverLocation(ManeuverLocation location)
LocatedManeuversetManeuverLocation in interface LocatedManeuverlocation - The new location for this maneuverpublic void translate(double offsetNorth,
double offsetEast,
double offsetDown)
LocatedManeuvertranslate in interface LocatedManeuveroffsetNorth - north offset amount, in metersoffsetEast - east offset amount, in metersoffsetDown - down offset amount, in metersprotected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> additionalProperties()
additionalProperties in class Maneuverpublic void setProperties(com.l2fprod.common.propertysheet.Property[] properties)
setProperties in interface PropertiesProvidersetProperties in class Maneuverpublic java.lang.String getTooltipText()
getTooltipText in class Maneuverpublic LocationType getLocation()
public int getDuration()
public void setDuration(int duration)
public double getRadius()
public void setRadius(double radius)
public double getSpeed()
public void setSpeed(double speed)
public java.lang.String getSpeedUnits()
public void setSpeedUnits(java.lang.String speedUnits)
protected double getVelocityInMetersPerSeconds()
public void paintOnMap(java.awt.Graphics2D g2d,
PlanElement planElement,
StateRenderer2D renderer)
paintOnMap in class Maneuverpublic void parseIMCMessage(pt.lsts.imc.IMCMessage message)
parseIMCMessage in interface IMCSerializationpublic pt.lsts.imc.IMCMessage serializeToIMC()
serializeToIMC in interface IMCSerializationpublic double getCompletionTime(LocationType initialPosition)
getCompletionTime in interface StatisticsProviderpublic double getDistanceTravelled(LocationType initialPosition)
getDistanceTravelled in interface StatisticsProviderpublic double getMaxDepth()
getMaxDepth in interface StatisticsProviderpublic double getMinDepth()
getMinDepth in interface StatisticsProviderCopyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.