public class SensorGPS extends SuperSensor
| Modifier and Type | Field and Description |
|---|---|
static SensorType |
type |
lastMessage, sensorType| Constructor and Description |
|---|
SensorGPS()
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFix()
‘int’ indicates whether or not a position was acquired.
|
Latitude |
getLatitude()
‘int’, ’double’, ’char’ provide the latitude degree, minute (as a
decimal), and cardinal description (i.e.
|
Longitude |
getLongitude()
‘int’, ’float’, ’char’ provide the longitude degree, minute (as a
decimal), and cardinal description (i.e.
|
int |
getSatellites()
‘int’ gives the number of satellites tracked by the GPS sensor.
|
getName, getSensorType, getTime, getType, isReady, updateMessagepublic static final SensorType type
public SensorGPS()
public Latitude getLatitude()
public Longitude getLongitude()
public int getFix()
public int getSatellites()
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.