public class TPVObject extends Object implements IGPSObject
Double.NaN if value is not presentnull| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
the GPSd internal name
|
| Constructor and Description |
|---|
TPVObject() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
double |
getAltitude()
Altitude in meters.
|
double |
getAltitudeError()
Estimated vertical error in meters, 95% confidence.
|
double |
getClimbRate()
Climb (positive) or sink (negative) rate, meters per second.
|
double |
getClimbRateError()
Climb/sink error estimate in meters/sec, 95% confidence.
|
double |
getCourse()
Course over ground, degrees from true north.
|
double |
getCourseError()
Direction error estimate in degrees, 95% confidence.
|
String |
getDevice()
Name of originating device
|
double |
getLatitude()
Latitude in degrees: +/- signifies North/South
|
double |
getLatitudeError()
Latitude error estimate in meters, 95% confidence.
|
double |
getLongitude()
Longitude in degrees: +/- signifies East/West
|
double |
getLongitudeError()
Longitude error estimate in meters, 95% confidence.
|
ENMEAMode |
getMode()
NMEA mode
|
double |
getSpeed()
Speed over ground, meters per second.
|
double |
getSpeedError()
Speed error estimate in meters/sec, 95% confidence.
|
String |
getTag()
Type tag associated with this GPS sentence; from an NMEA device this is just the NMEA sentence type.
|
double |
getTimestamp()
Seconds since the Unix epoch, UTC.
|
double |
getTimestampError()
Estimated timestamp error (%f, seconds, 95% confidence).
|
int |
hashCode() |
void |
setAltitude(double altitude)
Altitude in meters.
|
void |
setAltitudeError(double altitudeError)
Estimated vertical error in meters, 95% confidence.
|
void |
setClimbRate(double climbRate)
Climb (positive) or sink (negative) rate, meters per second.
|
void |
setClimbRateError(double climbRateError)
Climb/sink error estimate in meters/sec, 95% confidence.
|
void |
setCourse(double course)
Course over ground, degrees from true north.
|
void |
setCourseError(double courseError)
Direction error estimate in degrees, 95% confidence.
|
void |
setDevice(String device)
Name of originating device
|
void |
setLatitude(double latitude)
Latitude in degrees: +/- signifies North/South
|
void |
setLatitudeError(double latitudeError)
Latitude error estimate in meters, 95% confidence.
|
void |
setLongitude(double longitude)
Longitude in degrees: +/- signifies East/West
|
void |
setLongitudeError(double longitudeError)
Longitude error estimate in meters, 95% confidence.
|
void |
setMode(ENMEAMode mode)
NMEA mode
|
void |
setSpeed(double speed)
Speed over ground, meters per second.
|
void |
setSpeedError(double speedError)
Speed error estimate in meters/sec, 95% confidence.
|
void |
setTag(String tag)
Type tag associated with this GPS sentence; from an NMEA device this is just the NMEA sentence type.
|
void |
setTimestamp(double timestamp)
Seconds since the Unix epoch, UTC.
|
void |
setTimestampError(double timestampError)
Estimated timestamp error (%f, seconds, 95% confidence).
|
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 getTimestampError()
public void setTimestampError(double timestampError)
timestampError - the timestampError to setpublic double getLatitude()
public void setLatitude(double latitude)
latitude - the latitude to setpublic double getLongitude()
public void setLongitude(double longitude)
longitude - the longitude to setpublic double getAltitude()
public void setAltitude(double altitude)
altitude - the altitude to setpublic double getLatitudeError()
public void setLatitudeError(double latitudeError)
latitudeError - the latitudeError to setpublic double getLongitudeError()
public void setLongitudeError(double longitudeError)
longitudeError - the longitudeError to setpublic double getAltitudeError()
public void setAltitudeError(double altitudeError)
altitudeError - the altitudeError to setpublic double getCourse()
public void setCourse(double course)
course - the course to setpublic double getSpeed()
public void setSpeed(double speed)
speed - the speed to setpublic double getClimbRate()
public void setClimbRate(double climbRate)
climbRate - the climbRate to setpublic double getCourseError()
public void setCourseError(double courseError)
courseError - the courseError to setpublic double getSpeedError()
public void setSpeedError(double speedError)
speedError - the speedError to setpublic double getClimbRateError()
public void setClimbRateError(double climbRateError)
climbRateError - the climbRateError to setpublic ENMEAMode getMode()
public void setMode(ENMEAMode mode)
mode - the mode to setCopyright © 2011–2017 Taimos GmbH. All rights reserved.