Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

GpsProxy Class Reference
[Proxies]

#include <playerclient.h>

Inherits ClientProxy.

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 *pc, unsigned short index, unsigned char access='c')
void FillData (player_msghdr_t hdr, const char *buffer)
void Print ()
 Print out current pose information.


Public Attributes

double latitude
 Latitude and longitude, in degrees.

double longitude
double altitude
 Altitude, in meters.

int satellites
 Number of satellites in view.

int quality
 Fix quality.

double hdop
 Horizontal dilution of position (HDOP).

double vdop
 Vertical dilution of position (HDOP).

double utm_easting
 UTM easting and northing (meters).

double utm_northing
timeval time
 Time, since the epoch.


Constructor & Destructor Documentation

GpsProxy::GpsProxy PlayerClient pc,
unsigned short  index,
unsigned char  access = 'c'
[inline]
 

Constructor. Leave the access field empty to start unconnected.


Member Function Documentation

void GpsProxy::FillData player_msghdr_t  hdr,
const char *  buffer
[virtual]
 

All proxies must provide this method. It is used internally to parse new data when it is received.

Reimplemented from ClientProxy.

void GpsProxy::Print  )  [virtual]
 

Print out current pose information.

Reimplemented from ClientProxy.


Member Data Documentation

double GpsProxy::latitude
 

Latitude and longitude, in degrees.

double GpsProxy::longitude
 

double GpsProxy::altitude
 

Altitude, in meters.

int GpsProxy::satellites
 

Number of satellites in view.

int GpsProxy::quality
 

Fix quality.

double GpsProxy::hdop
 

Horizontal dilution of position (HDOP).

double GpsProxy::vdop
 

Vertical dilution of position (HDOP).

double GpsProxy::utm_easting
 

UTM easting and northing (meters).

double GpsProxy::utm_northing
 

struct timeval GpsProxy::time
 

Time, since the epoch.


The documentation for this class was generated from the following file:
Generated on Tue May 3 14:15:50 2005 for Player by doxygen 1.3.6