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) |
Modifier and Type | Method and Description |
---|---|
static VehicleFormation |
clone(IMCMessage msg) |
static VehicleFormation |
create(java.lang.Object... values) |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getCustom() |
double |
getLat() |
double |
getLon() |
java.util.Vector<VehicleFormationParticipant> |
getParticipants() |
java.util.Vector<TrajectoryPoint> |
getPoints() |
double |
getSpeed() |
VehicleFormation.SPEED_UNITS |
getSpeedUnits()
Reference speed units.
|
double |
getStartTime() |
double |
getZ() |
VehicleFormation.Z_UNITS |
getZUnits()
Units of the z reference.
|
void |
setCustom(java.util.LinkedHashMap<java.lang.String,?> custom) |
void |
setCustom(java.lang.String custom) |
void |
setLat(double lat) |
void |
setLon(double lon) |
void |
setParticipants(java.util.Collection<VehicleFormationParticipant> participants) |
void |
setPoints(java.util.Collection<TrajectoryPoint> points) |
void |
setSpeed(double speed) |
void |
setSpeedUnits(short speed_units) |
void |
setSpeedUnits(java.lang.String speed_units) |
void |
setSpeedUnits(VehicleFormation.SPEED_UNITS speed_units) |
void |
setStartTime(double start_time) |
void |
setZ(double z) |
void |
setZUnits(short z_units) |
void |
setZUnits(java.lang.String z_units) |
void |
setZUnits(VehicleFormation.Z_UNITS z_units) |
asJSON, asXml, cloneMessage, cloneMessage, compareTo, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, setMessage, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public VehicleFormation()
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 double getLon()
public double getZ()
public VehicleFormation.Z_UNITS getZUnits()
public double getSpeed()
public VehicleFormation.SPEED_UNITS getSpeedUnits()
public java.util.Vector<TrajectoryPoint> getPoints()
public java.util.Vector<VehicleFormationParticipant> getParticipants()
public double getStartTime()
public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public void setLat(double lat)
lat
- Latitude WGS-84 (rad)public void setLon(double lon)
lon
- Longitude WGS-84 (rad)public void setZ(double z)
z
- Z Reference (m)public void setZUnits(VehicleFormation.Z_UNITS z_units)
z_units
- Z Units (enumerated)public void setZUnits(java.lang.String z_units)
z_units
- Z Units (as a String)public void setZUnits(short z_units)
z_units
- Z Units (integer value)public void setSpeed(double speed)
speed
- Speedpublic void setSpeedUnits(VehicleFormation.SPEED_UNITS speed_units)
speed_units
- Speed Units (enumerated)public void setSpeedUnits(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public void setSpeedUnits(short speed_units)
speed_units
- Speed Units (integer value)public void setPoints(java.util.Collection<TrajectoryPoint> points)
points
- Trajectory Pointspublic void setParticipants(java.util.Collection<VehicleFormationParticipant> participants)
participants
- Formation Participantspublic void setStartTime(double start_time)
start_time
- Start Time (s)public void setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for maneuver (tuplelist)public void setCustom(java.lang.String custom)