• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

AP_GPS_406.h

Go to the documentation of this file.
00001 // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
00002 //
00003 //  EM406 GPS driver for ArduPilot and ArduPilotMega.
00004 //      Code by Michael Smith, Jason Short, Jordi Muņoz and Jose Julio. DIYDrones.com
00005 //
00006 //      This library is free software; you can redistribute it and / or
00007 //      modify it under the terms of the GNU Lesser General Public
00008 //      License as published by the Free Software Foundation; either
00009 //      version 2.1 of the License, or (at your option) any later version.
00010 //
00011 
00012 #ifndef AP_GPS_406_h
00013 #define AP_GPS_406_h
00014 
00015 #include "AP_GPS_SIRF.h"
00016 
00017 #define GPS_406_BITRATE         57600
00018 
00019 class AP_GPS_406 : public AP_GPS_SIRF
00020 {
00021 public:
00022     // Methods
00023         AP_GPS_406(Stream *port);
00024         virtual void    init(void);
00025 
00026 private:
00027         void            _change_to_sirf_protocol(void);
00028         void            _configure_gps(void);
00029 };
00030 
00031 #endif
00032 

Generated for ArduPilot Libraries by doxygen