public class YoYo extends Maneuver implements IMCSerialization, LocatedManeuver
Maneuver.SPEED_UNITS, Maneuver.Z_UNITS| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DEFAULT_ROOT_ELEMENT |
java.lang.String |
id |
circleDiam, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, endActions, startActions| Constructor and Description |
|---|
YoYo() |
| 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 |
getAmplitude() |
ManeuverLocation |
getEndLocation()
Retrieve the position where the vehicle will end this maneuver
|
java.lang.String |
getId() |
org.dom4j.Document |
getManeuverAsDocument(java.lang.String rootElementName) |
ManeuverLocation |
getManeuverLocation()
Retrieve the position of the maneuver (position that can be dragged by the user)
|
float |
getPitchAngle() |
java.lang.String |
getPropertiesDialogTitle() |
java.lang.String[] |
getPropertiesErrors(com.l2fprod.common.propertysheet.Property[] properties) |
double |
getSpeed() |
double |
getSpeedTolerance() |
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.
|
java.lang.String |
getUnits() |
void |
loadFromXML(java.lang.String xml) |
static void |
main(java.lang.String[] args) |
SystemPositionAndAttitude |
ManeuverFunction(SystemPositionAndAttitude lastVehicleState)
The mission preview will call this function every second to refresh the vehicle state.
|
void |
parseIMCMessage(pt.lsts.imc.IMCMessage message) |
pt.lsts.imc.IMCMessage |
serializeToIMC() |
void |
setAmplitude(double amplitude) |
void |
setId(java.lang.String id) |
void |
setManeuverLocation(ManeuverLocation location)
Set the maneuver's position
|
void |
setPitchAngle(float pitchAngle) |
void |
setProperties(com.l2fprod.common.propertysheet.Property[] properties) |
void |
setSpeed(double speed) |
void |
setSpeedTolerance(double speedTolerance) |
void |
setUnits(java.lang.String units) |
void |
translate(double offsetNorth,
double offsetEast,
double offsetDown)
Translate the position of this maneuver
|
addTransition, asDocument, asDocument, asElement, asElement, asXML, asXML, calcFinalState, clone, cloneActions, compareTo, createFromXML, endManeuver, getCustomSettings, getCustomSettingsTypeHint, getEndActions, getIcon, getManeuverXml, getMaxTime, getMinTime, getMissionType, getProperties, getReacheableManeuvers, getSamePositionManeuvers, getStartActions, getTransitionCondition, getXPosition, getYPosition, hasEnded, interpolate, isInitialManeuver, loadFromXMLExtraParameters, loadFromXMLExtraParameters, loadManeuverXml, paintOnMap, removeTransition, setCustomSettings, setCustomSettingsTypeHint, setInitialManeuver, setMaxTime, setMinTime, setMissionType, setXPosition, setYPosition, toStringprotected static final java.lang.String DEFAULT_ROOT_ELEMENT
public java.lang.String id
public java.lang.String getType()
Maneuverpublic org.dom4j.Document getManeuverAsDocument(java.lang.String rootElementName)
getManeuverAsDocument in class Maneuverpublic void loadFromXML(java.lang.String xml)
loadFromXML in class Maneuverpublic SystemPositionAndAttitude ManeuverFunction(SystemPositionAndAttitude lastVehicleState)
ManeuverManeuverFunction in class Maneuverpublic java.lang.Object clone()
Maneuverpublic double getAmplitude()
public void setAmplitude(double amplitude)
public float getPitchAngle()
public void setPitchAngle(float pitchAngle)
pitchAngle - the pitchAngle to setpublic java.lang.String getUnits()
public void setUnits(java.lang.String units)
public double getSpeed()
public void setSpeed(double speed)
public double getSpeedTolerance()
public void setSpeedTolerance(double speedTolerance)
public 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 java.lang.String getPropertiesDialogTitle()
getPropertiesDialogTitle in interface PropertiesProvidergetPropertiesDialogTitle in class Maneuverpublic void setProperties(com.l2fprod.common.propertysheet.Property[] properties)
setProperties in interface PropertiesProvidersetProperties in class Maneuverpublic java.lang.String[] getPropertiesErrors(com.l2fprod.common.propertysheet.Property[] properties)
getPropertiesErrors in interface PropertiesProvidergetPropertiesErrors 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 java.lang.String getTooltipText()
getTooltipText in class Maneuverpublic void parseIMCMessage(pt.lsts.imc.IMCMessage message)
parseIMCMessage in interface IMCSerializationpublic pt.lsts.imc.IMCMessage serializeToIMC()
serializeToIMC in interface IMCSerializationpublic static void main(java.lang.String[] args)
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.