public class CompassCalibration extends Maneuver
Modifier and Type | Class and Description |
---|---|
static class |
CompassCalibration.DIRECTION |
static class |
CompassCalibration.SPEED_UNITS |
static class |
CompassCalibration.Z_UNITS |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
CompassCalibration() |
CompassCalibration(IMCDefinition defs) |
CompassCalibration(IMCMessage msg) |
CompassCalibration(int timeout,
double lat,
double lon,
float z,
CompassCalibration.Z_UNITS z_units,
float pitch,
float amplitude,
int duration,
float speed,
CompassCalibration.SPEED_UNITS speed_units,
float radius,
CompassCalibration.DIRECTION direction,
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 CompassCalibration()
public CompassCalibration(IMCMessage msg)
public CompassCalibration(IMCDefinition defs)
public CompassCalibration(int timeout, double lat, double lon, float z, CompassCalibration.Z_UNITS z_units, float pitch, float amplitude, int duration, float speed, CompassCalibration.SPEED_UNITS speed_units, float radius, CompassCalibration.DIRECTION direction, java.lang.String custom)
public static CompassCalibration create(java.lang.Object... values)
public static CompassCalibration clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public int getTimeout()
public CompassCalibration setTimeout(int timeout)
timeout
- Timeout (s)public double getLat()
public CompassCalibration setLat(double lat)
lat
- Latitude WGS-84 (rad)public double getLon()
public CompassCalibration setLon(double lon)
lon
- Longitude WGS-84 (rad)public double getZ()
public CompassCalibration setZ(double z)
z
- Z Reference (m)public CompassCalibration.Z_UNITS getZUnits()
public java.lang.String getZUnitsStr()
public short getZUnitsVal()
public CompassCalibration setZUnits(CompassCalibration.Z_UNITS z_units)
z_units
- Z Units (enumerated)public CompassCalibration setZUnitsStr(java.lang.String z_units)
z_units
- Z Units (as a String)public CompassCalibration setZUnitsVal(short z_units)
z_units
- Z Units (integer value)public double getPitch()
public CompassCalibration setPitch(double pitch)
pitch
- Pitch (rad)public double getAmplitude()
public CompassCalibration setAmplitude(double amplitude)
amplitude
- Amplitude (m)public int getDuration()
public CompassCalibration setDuration(int duration)
duration
- Duration (s)public double getSpeed()
public CompassCalibration setSpeed(double speed)
speed
- Speedpublic CompassCalibration.SPEED_UNITS getSpeedUnits()
public java.lang.String getSpeedUnitsStr()
public short getSpeedUnitsVal()
public CompassCalibration setSpeedUnits(CompassCalibration.SPEED_UNITS speed_units)
speed_units
- Speed Units (enumerated)public CompassCalibration setSpeedUnitsStr(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public CompassCalibration setSpeedUnitsVal(short speed_units)
speed_units
- Speed Units (integer value)public double getRadius()
public CompassCalibration setRadius(double radius)
radius
- Radius (m)public CompassCalibration.DIRECTION getDirection()
public java.lang.String getDirectionStr()
public short getDirectionVal()
public CompassCalibration setDirection(CompassCalibration.DIRECTION direction)
direction
- Direction (enumerated)public CompassCalibration setDirectionStr(java.lang.String direction)
direction
- Direction (as a String)public CompassCalibration setDirectionVal(short direction)
direction
- Direction (integer value)public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public CompassCalibration setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for maneuver (tuplelist)public CompassCalibration setCustom(java.lang.String custom)