|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PositionService
This interface provides methods getting a geographic position. The OSGI Position class represents a geographic location, based on the WGS84 System (World Geodetic System 1984).
Position(Measurement lat, Measurement lon, Measurement alt, Measurement speed, Measurement track)
The interface also return a NmeaPosition, subclass of Position
NmeaPosition,
Position,
Measurement| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
org.osgi.util.position.Position getPosition()
PositionNmeaPosition getNmeaPosition()
NmeaPositionString getNmeaTime()
String getNmeaDate()
boolean isLocked()
String getLastSentence()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||