public class Formation extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
Formation.OP |
static class |
Formation.REFERENCE_FRAME |
static class |
Formation.TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
Formation() |
Formation(IMCDefinition defs) |
Formation(IMCMessage msg) |
Formation(java.lang.String formation_name,
Formation.TYPE type,
Formation.OP op,
java.lang.String group_name,
java.lang.String plan_id,
java.lang.String description,
Formation.REFERENCE_FRAME reference_frame,
java.util.Collection<VehicleFormationParticipant> participants,
float leader_bank_lim,
float leader_speed_min,
float leader_speed_max,
float leader_alt_min,
float leader_alt_max,
float pos_sim_err_lim,
float pos_sim_err_wrn,
int pos_sim_err_timeout,
float converg_max,
int converg_timeout,
int comms_timeout,
float turb_lim,
java.lang.String custom) |
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 Formation()
public Formation(IMCMessage msg)
public Formation(IMCDefinition defs)
public Formation(java.lang.String formation_name, Formation.TYPE type, Formation.OP op, java.lang.String group_name, java.lang.String plan_id, java.lang.String description, Formation.REFERENCE_FRAME reference_frame, java.util.Collection<VehicleFormationParticipant> participants, float leader_bank_lim, float leader_speed_min, float leader_speed_max, float leader_alt_min, float leader_alt_max, float pos_sim_err_lim, float pos_sim_err_wrn, int pos_sim_err_timeout, float converg_max, int converg_timeout, int comms_timeout, float turb_lim, java.lang.String custom)
public static Formation create(java.lang.Object... values)
public static Formation clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getFormationName()
public Formation setFormationName(java.lang.String formation_name)
formation_name
- Formation Namepublic Formation.TYPE getType()
public java.lang.String getTypeStr()
public short getTypeVal()
public Formation setType(Formation.TYPE type)
type
- Type (enumerated)public Formation setTypeStr(java.lang.String type)
type
- Type (as a String)public Formation setTypeVal(short type)
type
- Type (integer value)public Formation.OP getOp()
public java.lang.String getOpStr()
public short getOpVal()
public Formation setOp(Formation.OP op)
op
- Operation (enumerated)public Formation setOpStr(java.lang.String op)
op
- Operation (as a String)public Formation setOpVal(short op)
op
- Operation (integer value)public java.lang.String getGroupName()
public Formation setGroupName(java.lang.String group_name)
group_name
- Target Group Namepublic java.lang.String getPlanId()
public Formation setPlanId(java.lang.String plan_id)
plan_id
- Formation Plan IDpublic java.lang.String getDescription()
public Formation setDescription(java.lang.String description)
description
- Plan Descriptionpublic Formation.REFERENCE_FRAME getReferenceFrame()
public java.lang.String getReferenceFrameStr()
public short getReferenceFrameVal()
public Formation setReferenceFrame(Formation.REFERENCE_FRAME reference_frame)
reference_frame
- Formation Reference Frame (enumerated)public Formation setReferenceFrameStr(java.lang.String reference_frame)
reference_frame
- Formation Reference Frame (as a String)public Formation setReferenceFrameVal(short reference_frame)
reference_frame
- Formation Reference Frame (integer value)public java.util.Vector<VehicleFormationParticipant> getParticipants()
public Formation setParticipants(java.util.Collection<VehicleFormationParticipant> participants)
participants
- Formation Participantspublic double getLeaderBankLim()
public Formation setLeaderBankLim(double leader_bank_lim)
leader_bank_lim
- Formation Leader Bank Limit (rad)public double getLeaderSpeedMin()
public Formation setLeaderSpeedMin(double leader_speed_min)
leader_speed_min
- Formation Leader Minimum Speed (m/s)public double getLeaderSpeedMax()
public Formation setLeaderSpeedMax(double leader_speed_max)
leader_speed_max
- Formation Leader Maximum Speed (m/s)public double getLeaderAltMin()
public Formation setLeaderAltMin(double leader_alt_min)
leader_alt_min
- Formation Leader Minimum Altitude (m)public double getLeaderAltMax()
public Formation setLeaderAltMax(double leader_alt_max)
leader_alt_max
- Formation Leader Maximum Altitude (m)public double getPosSimErrLim()
public Formation setPosSimErrLim(double pos_sim_err_lim)
pos_sim_err_lim
- Position mismatch limit (m)public double getPosSimErrWrn()
public Formation setPosSimErrWrn(double pos_sim_err_wrn)
pos_sim_err_wrn
- Position mismatch threshold (m)public int getPosSimErrTimeout()
public Formation setPosSimErrTimeout(int pos_sim_err_timeout)
pos_sim_err_timeout
- Position mismatch time-out (s)public double getConvergMax()
public Formation setConvergMax(double converg_max)
converg_max
- Convergence threshold (m)public int getConvergTimeout()
public Formation setConvergTimeout(int converg_timeout)
converg_timeout
- Convergence time-out (s)public int getCommsTimeout()
public Formation setCommsTimeout(int comms_timeout)
comms_timeout
- Communications time-out (s)public double getTurbLim()
public Formation setTurbLim(double turb_lim)
turb_lim
- Turbulence limit (m/s)public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public Formation setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for maneuver (tuplelist)public Formation setCustom(java.lang.String custom)