public class LeaderState extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
LeaderState.OP |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
LeaderState() |
LeaderState(IMCDefinition defs) |
LeaderState(IMCMessage msg) |
LeaderState(java.lang.String group_name,
LeaderState.OP op,
double lat,
double lon,
float height,
float x,
float y,
float z,
float phi,
float theta,
float psi,
float vx,
float vy,
float vz,
float p,
float q,
float r,
float svx,
float svy,
float svz) |
Modifier and Type | Method and Description |
---|---|
static LeaderState |
clone(IMCMessage msg) |
static LeaderState |
create(java.lang.Object... values) |
java.lang.String |
getGroupName() |
double |
getHeight() |
double |
getLat() |
double |
getLon() |
LeaderState.OP |
getOp() |
java.lang.String |
getOpStr() |
short |
getOpVal() |
double |
getP() |
double |
getPhi() |
double |
getPsi() |
double |
getQ() |
double |
getR() |
double |
getSvx() |
double |
getSvy() |
double |
getSvz() |
double |
getTheta() |
double |
getVx() |
double |
getVy() |
double |
getVz() |
double |
getX() |
double |
getY() |
double |
getZ() |
LeaderState |
setGroupName(java.lang.String group_name) |
LeaderState |
setHeight(double height) |
LeaderState |
setLat(double lat) |
LeaderState |
setLon(double lon) |
LeaderState |
setOp(LeaderState.OP op) |
LeaderState |
setOpStr(java.lang.String op) |
LeaderState |
setOpVal(short op) |
LeaderState |
setP(double p) |
LeaderState |
setPhi(double phi) |
LeaderState |
setPsi(double psi) |
LeaderState |
setQ(double q) |
LeaderState |
setR(double r) |
LeaderState |
setSvx(double svx) |
LeaderState |
setSvy(double svy) |
LeaderState |
setSvz(double svz) |
LeaderState |
setTheta(double theta) |
LeaderState |
setVx(double vx) |
LeaderState |
setVy(double vy) |
LeaderState |
setVz(double vz) |
LeaderState |
setX(double x) |
LeaderState |
setY(double y) |
LeaderState |
setZ(double z) |
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 LeaderState()
public LeaderState(IMCMessage msg)
public LeaderState(IMCDefinition defs)
public LeaderState(java.lang.String group_name, LeaderState.OP op, double lat, double lon, float height, float x, float y, float z, float phi, float theta, float psi, float vx, float vy, float vz, float p, float q, float r, float svx, float svy, float svz)
public static LeaderState create(java.lang.Object... values)
public static LeaderState clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getGroupName()
public LeaderState setGroupName(java.lang.String group_name)
group_name
- Group Namepublic LeaderState.OP getOp()
public java.lang.String getOpStr()
public short getOpVal()
public LeaderState setOp(LeaderState.OP op)
op
- Action on the leader state (enumerated)public LeaderState setOpStr(java.lang.String op)
op
- Action on the leader state (as a String)public LeaderState setOpVal(short op)
op
- Action on the leader state (integer value)public double getLat()
public LeaderState setLat(double lat)
lat
- Latitude (WGS-84) (rad)public double getLon()
public LeaderState setLon(double lon)
lon
- Longitude (WGS-84) (rad)public double getHeight()
public LeaderState setHeight(double height)
height
- Height (WGS-84) (m)public double getX()
public LeaderState setX(double x)
x
- Offset north (m)public double getY()
public LeaderState setY(double y)
y
- Offset east (m)public double getZ()
public LeaderState setZ(double z)
z
- Offset down (m)public double getPhi()
public LeaderState setPhi(double phi)
phi
- Rotation over x axis (rad)public double getTheta()
public LeaderState setTheta(double theta)
theta
- Rotation over y axis (rad)public double getPsi()
public LeaderState setPsi(double psi)
psi
- Rotation over z axis (rad)public double getVx()
public LeaderState setVx(double vx)
vx
- Ground Velocity X (North) (m/s)public double getVy()
public LeaderState setVy(double vy)
vy
- Ground Velocity Y (East) (m/s)public double getVz()
public LeaderState setVz(double vz)
vz
- Ground Velocity Z (Down) (m/s)public double getP()
public LeaderState setP(double p)
p
- Angular Velocity in x (rad/s)public double getQ()
public LeaderState setQ(double q)
q
- Angular Velocity in y (rad/s)public double getR()
public LeaderState setR(double r)
r
- Angular Velocity in z (rad/s)public double getSvx()
public LeaderState setSvx(double svx)
svx
- Stream Velocity X (North) (m/s)public double getSvy()
public LeaderState setSvy(double svy)
svy
- Stream Velocity Y (East) (m/s)public double getSvz()
public LeaderState setSvz(double svz)
svz
- Stream Velocity Z (Down) (m/s)