PlayerCc::GpsProxy Class Reference

The GpsProxy class is used to control a gps device. More...

#include <playerc++.h>

Inheritance diagram for PlayerCc::GpsProxy:
Collaboration diagram for PlayerCc::GpsProxy:

List of all members.

Detailed Description

The GpsProxy class is used to control a gps device.

The latest pose data is stored in three class attributes.

Public Member Functions

 GpsProxy (PlayerClient *aPc, uint32_t aIndex=0)
 ~GpsProxy ()
double GetLatitude () const
 Latitude and longitude, in degrees.
double GetLongitude () const
double GetAltitude () const
 Altitude, in meters.
uint32_t GetSatellites () const
 Number of satellites in view.
uint32_t GetQuality () const
 Fix quality.
double GetHdop () const
 Horizontal dilution of position (HDOP)
double GetVdop () const
 Vertical dilution of position (HDOP)
double GetUtmEasting () const
 UTM easting and northing (meters).
double GetUtmNorthing () const
double GetTime () const
 Time, since the epoch.
double GetErrHorizontal () const
double GetErrVertical () const

Private Member Functions

void Subscribe (uint32_t aIndex)
void Unsubscribe ()

Private Attributes


The documentation for this class was generated from the following file: