Public Member Functions

AP_GPS_Auto Class Reference

#include <AP_GPS_Auto.h>

Inherits GPS.

Collaboration diagram for AP_GPS_Auto:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AP_GPS_Auto (FastSerial *port, GPS **gps)
virtual void init (void)
 Dummy init routine, does nothing.
virtual bool read (void)

Detailed Description

Definition at line 12 of file AP_GPS_Auto.h.


Constructor & Destructor Documentation

AP_GPS_Auto::AP_GPS_Auto ( FastSerial port,
GPS **  gps 
)

Constructor

Note:
The stream is expected to be set up and configured for the correct bitrate before init is called.
Parameters:
port Stream connected to the GPS module.
ptr Pointer to a GPS * that will be fixed up by init when the GPS type has been detected.

Definition at line 11 of file AP_GPS_Auto.cpp.


Member Function Documentation

void AP_GPS_Auto::init ( void   )  [virtual]

Dummy init routine, does nothing.

Implements GPS.

Definition at line 21 of file AP_GPS_Auto.cpp.

bool AP_GPS_Auto::read ( void   )  [virtual]

Detect and initialise the attached GPS unit. Updates the pointer passed into the constructor when a GPS is detected.

Implements GPS.

Definition at line 31 of file AP_GPS_Auto.cpp.


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