public class StationKeeping extends Maneuver
| Modifier and Type | Field and Description |
|---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID| Constructor and Description |
|---|
StationKeeping() |
StationKeeping(double lat,
double lon,
float z,
pt.lsts.imc.def.ZUnits z_units,
float radius,
int duration,
float speed,
pt.lsts.imc.def.SpeedUnits speed_units,
java.lang.String custom) |
StationKeeping(IMCDefinition defs) |
StationKeeping(IMCMessage msg) |
| Modifier and Type | Method and Description |
|---|---|
static StationKeeping |
clone(IMCMessage msg) |
static StationKeeping |
create(java.lang.Object... values) |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getCustom() |
int |
getDuration() |
double |
getLat() |
double |
getLon() |
double |
getRadius() |
double |
getSpeed() |
pt.lsts.imc.def.SpeedUnits |
getSpeedUnits() |
java.lang.String |
getSpeedUnitsStr() |
short |
getSpeedUnitsVal() |
double |
getZ() |
pt.lsts.imc.def.ZUnits |
getZUnits() |
java.lang.String |
getZUnitsStr() |
short |
getZUnitsVal() |
StationKeeping |
setCustom(java.util.LinkedHashMap<java.lang.String,?> custom) |
StationKeeping |
setCustom(java.lang.String custom) |
StationKeeping |
setDuration(int duration) |
StationKeeping |
setLat(double lat) |
StationKeeping |
setLon(double lon) |
StationKeeping |
setRadius(double radius) |
StationKeeping |
setSpeed(double speed) |
StationKeeping |
setSpeedUnits(pt.lsts.imc.def.SpeedUnits speed_units) |
StationKeeping |
setSpeedUnitsStr(java.lang.String speed_units) |
StationKeeping |
setSpeedUnitsVal(short speed_units) |
StationKeeping |
setZ(double z) |
StationKeeping |
setZUnits(pt.lsts.imc.def.ZUnits z_units) |
StationKeeping |
setZUnitsStr(java.lang.String z_units) |
StationKeeping |
setZUnitsVal(short z_units) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, copyToClipoard, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAgeInSeconds, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getEntityName, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageInfo, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, getValues, hasFlag, hexdump, isNull, isPeriodic, makeImmutable, parseJson, parseXml, pasteFromClipoard, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toByteArray, toByteArray, toString, validatepublic static final int ID_STATIC
public StationKeeping()
public StationKeeping(IMCMessage msg)
public StationKeeping(IMCDefinition defs)
public StationKeeping(double lat,
double lon,
float z,
pt.lsts.imc.def.ZUnits z_units,
float radius,
int duration,
float speed,
pt.lsts.imc.def.SpeedUnits speed_units,
java.lang.String custom)
public static StationKeeping create(java.lang.Object... values)
public static StationKeeping clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exceptionpublic double getLat()
public StationKeeping setLat(double lat)
lat - Latitude WGS-84 (rad)public double getLon()
public StationKeeping setLon(double lon)
lon - Longitude WGS-84 (rad)public double getZ()
public StationKeeping setZ(double z)
z - Z Reference (m)public pt.lsts.imc.def.ZUnits getZUnits()
public java.lang.String getZUnitsStr()
public short getZUnitsVal()
public StationKeeping setZUnits(pt.lsts.imc.def.ZUnits z_units)
z_units - Z Units (enumerated)public StationKeeping setZUnitsStr(java.lang.String z_units)
z_units - Z Units (as a String)public StationKeeping setZUnitsVal(short z_units)
z_units - Z Units (integer value)public double getRadius()
public StationKeeping setRadius(double radius)
radius - Radius (m)public int getDuration()
public StationKeeping setDuration(int duration)
duration - Duration (s)public double getSpeed()
public StationKeeping setSpeed(double speed)
speed - Speedpublic pt.lsts.imc.def.SpeedUnits getSpeedUnits()
public java.lang.String getSpeedUnitsStr()
public short getSpeedUnitsVal()
public StationKeeping setSpeedUnits(pt.lsts.imc.def.SpeedUnits speed_units)
speed_units - Speed Units (enumerated)public StationKeeping setSpeedUnitsStr(java.lang.String speed_units)
speed_units - Speed Units (as a String)public StationKeeping setSpeedUnitsVal(short speed_units)
speed_units - Speed Units (integer value)public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public StationKeeping setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom - Custom settings for maneuver (tuplelist)public StationKeeping setCustom(java.lang.String custom)