Public Member Functions | Public Attributes

AP_GPS_NMEA Class Reference

#include <AP_GPS_NMEA.h>

Inherits GPS.

Collaboration diagram for AP_GPS_NMEA:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AP_GPS_NMEA (Stream *s)
virtual void init ()
virtual bool read ()

Public Attributes

uint8_t quality

Detailed Description

Definition at line 34 of file AP_GPS_NMEA.h.


Constructor & Destructor Documentation

AP_GPS_NMEA::AP_GPS_NMEA ( Stream s  ) 

Definition at line 44 of file AP_GPS_NMEA.cpp.


Member Function Documentation

void AP_GPS_NMEA::init (  )  [virtual]

Startup initialisation.

This routine performs any one-off initialisation required to set the GPS up for use.

Must be implemented by the GPS driver.

Implements GPS.

Definition at line 50 of file AP_GPS_NMEA.cpp.

bool AP_GPS_NMEA::read (  )  [virtual]

read from the GPS stream and update properties

Must be implemented by the GPS driver.

Returns:
true if a valid message was received from the GPS

Implements GPS.

Definition at line 65 of file AP_GPS_NMEA.cpp.


Member Data Documentation

Definition at line 43 of file AP_GPS_NMEA.h.


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