public interface PositionService
Position(Measurement lat, Measurement lon, Measurement alt, Measurement speed, Measurement track)
The interface also return a NmeaPosition, subclass of Position
NmeaPosition
,
Position
,
Measurement
Modifier and Type | Method and Description |
---|---|
String |
getLastSentence()
Returns the last sentence received from the gps.
|
String |
getNmeaDate()
Returns the current NMEA date from ZDA sentence
|
NmeaPosition |
getNmeaPosition()
Returns the current NMEA geographic position.
|
String |
getNmeaTime()
Returns the current NMEA time from GGA or ZDA sentence
|
org.osgi.util.position.Position |
getPosition()
Returns the current geographic position.
The org.osgi.util.measurement.Measurement class is used to represent the values that make up a position : getLongitude() : returns the longitude of this position in radians. getLatitude() : returns the latitude of this position in radians. |
boolean |
isLocked()
Returns true if a valid geographic position has been received.
|
org.osgi.util.position.Position getPosition()
Position
NmeaPosition getNmeaPosition()
NmeaPosition
String getNmeaTime()
String getNmeaDate()
boolean isLocked()
String getLastSentence()
Copyright © 2013. All Rights Reserved.