public class VehicleFormation extends Maneuver
Modifier and Type | Class and Description |
---|---|
static class |
VehicleFormation.SPEED_UNITS |
static class |
VehicleFormation.Z_UNITS |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
VehicleFormation() |
VehicleFormation(double lat,
double lon,
float z,
VehicleFormation.Z_UNITS z_units,
float speed,
VehicleFormation.SPEED_UNITS speed_units,
java.util.Collection<TrajectoryPoint> points,
java.util.Collection<VehicleFormationParticipant> participants,
double start_time,
java.lang.String custom) |
VehicleFormation(IMCDefinition defs) |
VehicleFormation(IMCMessage msg) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, 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, main, makeImmutable, parseJson, parseXml, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public VehicleFormation()
public VehicleFormation(IMCMessage msg)
public VehicleFormation(IMCDefinition defs)
public VehicleFormation(double lat, double lon, float z, VehicleFormation.Z_UNITS z_units, float speed, VehicleFormation.SPEED_UNITS speed_units, java.util.Collection<TrajectoryPoint> points, java.util.Collection<VehicleFormationParticipant> participants, double start_time, java.lang.String custom)
public static VehicleFormation create(java.lang.Object... values)
public static VehicleFormation clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getLat()
public VehicleFormation setLat(double lat)
lat
- Latitude WGS-84 (rad)public double getLon()
public VehicleFormation setLon(double lon)
lon
- Longitude WGS-84 (rad)public double getZ()
public VehicleFormation setZ(double z)
z
- Z Reference (m)public VehicleFormation.Z_UNITS getZUnits()
public java.lang.String getZUnitsStr()
public short getZUnitsVal()
public VehicleFormation setZUnits(VehicleFormation.Z_UNITS z_units)
z_units
- Z Units (enumerated)public VehicleFormation setZUnitsStr(java.lang.String z_units)
z_units
- Z Units (as a String)public VehicleFormation setZUnitsVal(short z_units)
z_units
- Z Units (integer value)public double getSpeed()
public VehicleFormation setSpeed(double speed)
speed
- Speedpublic VehicleFormation.SPEED_UNITS getSpeedUnits()
public java.lang.String getSpeedUnitsStr()
public short getSpeedUnitsVal()
public VehicleFormation setSpeedUnits(VehicleFormation.SPEED_UNITS speed_units)
speed_units
- Speed Units (enumerated)public VehicleFormation setSpeedUnitsStr(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public VehicleFormation setSpeedUnitsVal(short speed_units)
speed_units
- Speed Units (integer value)public java.util.Vector<TrajectoryPoint> getPoints()
public VehicleFormation setPoints(java.util.Collection<TrajectoryPoint> points)
points
- Trajectory Pointspublic java.util.Vector<VehicleFormationParticipant> getParticipants()
public VehicleFormation setParticipants(java.util.Collection<VehicleFormationParticipant> participants)
participants
- Formation Participantspublic double getStartTime()
public VehicleFormation setStartTime(double start_time)
start_time
- Start Time (s)public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public VehicleFormation setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for maneuver (tuplelist)public VehicleFormation setCustom(java.lang.String custom)