public class GPSData extends SensorData
DATA_FIELDS_USED, sensorInfo, time
Constructor and Description |
---|
GPSData(long time,
float[] values)
Constructor.
|
GPSData(long time,
float lat,
float lon,
float z)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
getLat()
Latitude getter.
|
float |
getLon()
Longitude getter.
|
float |
getZ()
Altitude getter.
|
deserialize, getTime, getValues, serialize
public GPSData(long time, float[] values)
time
- Timestamp [ms].values
- Measured GPS position in lat, long, and altitude..public GPSData(long time, float lat, float lon, float z)
time
- Timestamp [ms].lat
- Latitude [degress].lon
- Longitude [degree].z
- Altitude [m].