#include <AP_GPS_Auto.h>
Inherits GPS.
Public Member Functions | |
AP_GPS_Auto (FastSerial *port, GPS **gps) | |
virtual void | init (void) |
Dummy init routine, does nothing. | |
virtual bool | read (void) |
Definition at line 12 of file AP_GPS_Auto.h.
AP_GPS_Auto::AP_GPS_Auto | ( | FastSerial * | port, | |
GPS ** | gps | |||
) |
Constructor
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.
void AP_GPS_Auto::init | ( | void | ) | [virtual] |
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.