public class GPSState
extends java.lang.Object
Constructor and Description |
---|
GPSState() |
GPSState(java.lang.String logFormattedString) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
double |
getAltitude()
The read altitude, in meters
|
LocationType |
getCurrentLocation()
Generates a LocationType object based on this GPS state
|
double |
getEstimatedError() |
double |
getHdop() |
double |
getHeading() |
double |
getLatitude() |
double |
getLongitude() |
int |
getNumberOfVisibleSatellites() |
double |
getPdop() |
double |
getSpeed() |
double |
getVdop() |
void |
setAltitude(double altitude) |
void |
setEstimatedError(double estimatedError) |
void |
setHdop(double hdop) |
void |
setHeading(double heading) |
void |
setLatitude(double latitude) |
void |
setLongitude(double longitude) |
void |
setNumberOfVisibleSatellites(int numberOfVisibleSatellites) |
void |
setPdop(double pdop) |
void |
setSpeed(double speed) |
void |
setVdop(double vdop) |
java.lang.String |
toLogFormattedString() |
java.lang.String |
toString()
Generates a string representation of the GPS state
|
public GPSState(java.lang.String logFormattedString)
public GPSState()
public double getAltitude()
public void setAltitude(double altitude)
public LocationType getCurrentLocation()
public double getEstimatedError()
public void setEstimatedError(double estimatedError)
public double getHdop()
public void setHdop(double hdop)
hdop
- the hdop to setpublic double getPdop()
public void setPdop(double pdop)
pdop
- the pdop to setpublic double getVdop()
public void setVdop(double vdop)
vdop
- the vdop to setpublic double getLatitude()
public void setLatitude(double latitude)
public double getLongitude()
public void setLongitude(double longitude)
public int getNumberOfVisibleSatellites()
public void setNumberOfVisibleSatellites(int numberOfVisibleSatellites)
public double getSpeed()
public void setSpeed(double speed)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toLogFormattedString()
protected java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public double getHeading()
public void setHeading(double heading)
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.