public class FormationControlParams extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
FormationControlParams.ACTION |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
FormationControlParams() |
FormationControlParams(FormationControlParams.ACTION Action,
float lon_gain,
float lat_gain,
float bond_thick,
float lead_gain,
float deconfl_gain,
float accel_switch_gain,
float safe_dist,
float deconflict_offset,
float accel_safe_margin,
float accel_lim_x) |
FormationControlParams(IMCDefinition defs) |
FormationControlParams(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 FormationControlParams()
public FormationControlParams(IMCMessage msg)
public FormationControlParams(IMCDefinition defs)
public FormationControlParams(FormationControlParams.ACTION Action, float lon_gain, float lat_gain, float bond_thick, float lead_gain, float deconfl_gain, float accel_switch_gain, float safe_dist, float deconflict_offset, float accel_safe_margin, float accel_lim_x)
public static FormationControlParams create(java.lang.Object... values)
public static FormationControlParams clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public FormationControlParams.ACTION getAction()
public java.lang.String getActionStr()
public short getActionVal()
public FormationControlParams setAction(FormationControlParams.ACTION Action)
Action
- Action (enumerated)public FormationControlParams setActionStr(java.lang.String Action)
Action
- Action (as a String)public FormationControlParams setActionVal(short Action)
Action
- Action (integer value)public double getLonGain()
public FormationControlParams setLonGain(double lon_gain)
lon_gain
- Longitudinal Gainpublic double getLatGain()
public FormationControlParams setLatGain(double lat_gain)
lat_gain
- Lateral Gainpublic double getBondThick()
public FormationControlParams setBondThick(double bond_thick)
bond_thick
- Boundary Layer Thicknesspublic double getLeadGain()
public FormationControlParams setLeadGain(double lead_gain)
lead_gain
- Leader Gainpublic double getDeconflGain()
public FormationControlParams setDeconflGain(double deconfl_gain)
deconfl_gain
- Deconfliction Gainpublic double getAccelSwitchGain()
public FormationControlParams setAccelSwitchGain(double accel_switch_gain)
accel_switch_gain
- Acceleration Switch Gainpublic double getSafeDist()
public FormationControlParams setSafeDist(double safe_dist)
safe_dist
- Safety Distancepublic double getDeconflictOffset()
public FormationControlParams setDeconflictOffset(double deconflict_offset)
deconflict_offset
- Deconfliction Offsetpublic double getAccelSafeMargin()
public FormationControlParams setAccelSafeMargin(double accel_safe_margin)
accel_safe_margin
- Acceleration Safety Marginpublic double getAccelLimX()
public FormationControlParams setAccelLimX(double accel_lim_x)
accel_lim_x
- Maximum Longitudinal Acceleration