public class GpsFixRtk extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
GpsFixRtk.TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
static int |
RFV_VALID_BASE |
static int |
RFV_VALID_POS |
static int |
RFV_VALID_TIME |
static int |
RFV_VALID_VEL |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
GpsFixRtk() |
GpsFixRtk(IMCDefinition defs) |
GpsFixRtk(IMCMessage msg) |
GpsFixRtk(int validity,
GpsFixRtk.TYPE type,
long tow,
double base_lat,
double base_lon,
float base_height,
float n,
float e,
float d,
float v_n,
float v_e,
float v_d,
short satellites,
int iar_hyp,
float iar_ratio) |
Modifier and Type | Method and Description |
---|---|
static GpsFixRtk |
clone(IMCMessage msg) |
static GpsFixRtk |
create(java.lang.Object... values) |
double |
getBaseHeight() |
double |
getBaseLat() |
double |
getBaseLon() |
double |
getD() |
double |
getE() |
int |
getIarHyp() |
double |
getIarRatio() |
double |
getN() |
short |
getSatellites() |
long |
getTow() |
GpsFixRtk.TYPE |
getType() |
java.lang.String |
getTypeStr() |
short |
getTypeVal() |
int |
getValidity() |
double |
getVD() |
double |
getVE() |
double |
getVN() |
GpsFixRtk |
setBaseHeight(double base_height) |
GpsFixRtk |
setBaseLat(double base_lat) |
GpsFixRtk |
setBaseLon(double base_lon) |
GpsFixRtk |
setD(double d) |
GpsFixRtk |
setE(double e) |
GpsFixRtk |
setIarHyp(int iar_hyp) |
GpsFixRtk |
setIarRatio(double iar_ratio) |
GpsFixRtk |
setN(double n) |
GpsFixRtk |
setSatellites(short satellites) |
GpsFixRtk |
setTow(long tow) |
GpsFixRtk |
setType(GpsFixRtk.TYPE type) |
GpsFixRtk |
setTypeStr(java.lang.String type) |
GpsFixRtk |
setTypeVal(short type) |
GpsFixRtk |
setValidity(int validity) |
GpsFixRtk |
setVD(double v_d) |
GpsFixRtk |
setVE(double v_e) |
GpsFixRtk |
setVN(double v_n) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, copyToClipoard, 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, makeImmutable, parseJson, parseXml, pasteFromClipoard, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toByteArray, toByteArray, toString, validate
public static final int RFV_VALID_TIME
public static final int RFV_VALID_BASE
public static final int RFV_VALID_POS
public static final int RFV_VALID_VEL
public static final int ID_STATIC
public GpsFixRtk()
public GpsFixRtk(IMCMessage msg)
public GpsFixRtk(IMCDefinition defs)
public GpsFixRtk(int validity, GpsFixRtk.TYPE type, long tow, double base_lat, double base_lon, float base_height, float n, float e, float d, float v_n, float v_e, float v_d, short satellites, int iar_hyp, float iar_ratio)
public static GpsFixRtk create(java.lang.Object... values)
public static GpsFixRtk clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public int getValidity()
public GpsFixRtk setValidity(int validity)
validity
- Validity (bitfield)public GpsFixRtk.TYPE getType()
public java.lang.String getTypeStr()
public short getTypeVal()
public GpsFixRtk setType(GpsFixRtk.TYPE type)
type
- Type (enumerated)public GpsFixRtk setTypeStr(java.lang.String type)
type
- Type (as a String)public GpsFixRtk setTypeVal(short type)
type
- Type (integer value)public long getTow()
public GpsFixRtk setTow(long tow)
tow
- GPS Time of Weekpublic double getBaseLat()
public GpsFixRtk setBaseLat(double base_lat)
base_lat
- Base Latitude WGS-84 (rad)public double getBaseLon()
public GpsFixRtk setBaseLon(double base_lon)
base_lon
- Base Longitude WGS-84 (rad)public double getBaseHeight()
public GpsFixRtk setBaseHeight(double base_height)
base_height
- Base Height above WGS-84 ellipsoid (m)public double getN()
public GpsFixRtk setN(double n)
n
- Position North (m)public double getE()
public GpsFixRtk setE(double e)
e
- Position East (m)public double getD()
public GpsFixRtk setD(double d)
d
- Position Down (m)public double getVN()
public GpsFixRtk setVN(double v_n)
v_n
- Velocity North (m/s)public double getVE()
public GpsFixRtk setVE(double v_e)
v_e
- Velocity East (m/s)public double getVD()
public GpsFixRtk setVD(double v_d)
v_d
- Velocity Down (m/s)public short getSatellites()
public GpsFixRtk setSatellites(short satellites)
satellites
- Number of Satellitespublic int getIarHyp()
public GpsFixRtk setIarHyp(int iar_hyp)
iar_hyp
- IAR Hypothesespublic double getIarRatio()
public GpsFixRtk setIarRatio(double iar_ratio)
iar_ratio
- IAR Ratio