public class ATTObject extends Object implements IGPSObject
all getters for double values may return Double.NaN if value is not present
other getters may return null
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
the GPSd internal name
|
| Constructor and Description |
|---|
ATTObject() |
| Modifier and Type | Method and Description |
|---|---|
double |
getAcc_len()
Scalar acceleration.
|
double |
getAcc_x()
X component of acceleration.
|
double |
getAcc_y()
Y component of acceleration.
|
double |
getAcc_z()
Z component of acceleration.
|
double |
getDepth()
Water depth in meters.
|
String |
getDevice()
Name of originating device
|
double |
getDip()
Roll in degrees.
|
double |
getGyro_x()
X component of acceleration.
|
double |
getGyro_y()
Y component of acceleration.
|
double |
getHeading()
Heading, degrees from true north.
|
double |
getMag_len()
Scalar magnetic field strength.
|
double |
getMag_x()
X component of magnetic field strength.
|
double |
getMag_y()
Y component of magnetic field strength.
|
double |
getMag_z()
Z component of magnetic field strength.
|
String |
getMagState()
Magnetometer status.
|
double |
getPitch()
Pitch in degrees.
|
String |
getPitchState()
Pitch sensor status.
|
double |
getRoll()
Roll in degrees.
|
String |
getRollState()
Roll sensor status.
|
String |
getTag()
Type tag associated with this GPS sentence; from an NMEA device this is just the NMEA sentence type.
|
double |
getTemperature()
Temperature at sensor, degrees centigrade.
|
double |
getTimestamp()
Seconds since the Unix epoch, UTC.
|
double |
getYaw()
Yaw in degrees
|
String |
getYawState()
Yaw sensor status.
|
void |
setAcc_len(double acc_len)
Scalar acceleration.
|
void |
setAcc_x(double acc_x)
X component of acceleration.
|
void |
setAcc_y(double acc_y)
Y component of acceleration.
|
void |
setAcc_z(double acc_z)
Z component of acceleration.
|
void |
setDepth(double depth)
Water depth in meters.
|
void |
setDevice(String device)
Name of originating device
|
void |
setDip(double dip)
Roll in degrees.
|
void |
setGyro_x(double gyro_x)
X component of acceleration.
|
void |
setGyro_y(double gyro_y)
Y component of acceleration.
|
void |
setHeading(double heading)
Heading, degrees from true north.
|
void |
setMag_len(double mag_len)
Scalar magnetic field strength.
|
void |
setMag_x(double mag_x)
X component of magnetic field strength.
|
void |
setMag_y(double mag_y)
Y component of magnetic field strength.
|
void |
setMag_z(double mag_z)
Z component of magnetic field strength.
|
void |
setMagState(String magState)
Magnetometer status.
|
void |
setPitch(double pitch)
Pitch in degrees.
|
void |
setPitchState(String pitchState)
Pitch sensor status.
|
void |
setRoll(double roll)
Roll in degrees.
|
void |
setRollState(String rollState)
Roll sensor status.
|
void |
setTag(String tag)
Type tag associated with this GPS sentence; from an NMEA device this is just the NMEA sentence type.
|
void |
setTemperature(double temperature)
Temperature at sensor, degrees centigrade.
|
void |
setTimestamp(double timestamp)
Seconds since the Unix epoch, UTC.
|
void |
setYaw(double yaw)
Yaw in degrees
|
void |
setYawState(String yawState)
Yaw sensor status.
|
String |
toString() |
public static final String NAME
public String getTag()
public void setTag(String tag)
tag - the tag to setpublic String getDevice()
public void setDevice(String device)
device - the device to setpublic double getTimestamp()
public void setTimestamp(double timestamp)
timestamp - the timestamp to setpublic double getHeading()
public void setHeading(double heading)
heading - the heading to setpublic double getPitch()
public void setPitch(double pitch)
pitch - the pitch to setpublic double getYaw()
public void setYaw(double yaw)
yaw - the yaw to setpublic double getRoll()
public void setRoll(double roll)
roll - the roll to setpublic double getDip()
public void setDip(double dip)
dip - the dip to setpublic double getMag_len()
public void setMag_len(double mag_len)
mag_len - the mag_len to setpublic double getMag_x()
public void setMag_x(double mag_x)
mag_x - the mag_x to setpublic double getMag_y()
public void setMag_y(double mag_y)
mag_y - the mag_y to setpublic double getMag_z()
public void setMag_z(double mag_z)
mag_z - the mag_z to setpublic double getAcc_len()
public void setAcc_len(double acc_len)
acc_len - the acc_len to setpublic double getAcc_x()
public void setAcc_x(double acc_x)
acc_x - the acc_x to setpublic double getAcc_y()
public void setAcc_y(double acc_y)
acc_y - the acc_y to setpublic double getAcc_z()
public void setAcc_z(double acc_z)
acc_z - the acc_z to setpublic double getGyro_x()
public void setGyro_x(double gyro_x)
gyro_x - the gyro_x to setpublic double getGyro_y()
public void setGyro_y(double gyro_y)
gyro_y - the gyro_y to setpublic double getDepth()
public void setDepth(double depth)
depth - the depth to setpublic double getTemperature()
public void setTemperature(double temperature)
temperature - the temperature to setpublic String getMagState()
public void setMagState(String magState)
magState - the magState to setpublic String getPitchState()
public void setPitchState(String pitchState)
pitchState - the pitchState to setpublic String getYawState()
public void setYawState(String yawState)
yawState - the yawState to setpublic String getRollState()
public void setRollState(String rollState)
rollState - the rollState to setCopyright © 2011–2017 Taimos GmbH. All rights reserved.