INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
components/gps2localise2d/driver.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2009 Alex Brooks 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 #ifndef DRIVER_H 00011 #define DRIVER_H 00012 00013 #include <orca/gps.h> 00014 #include <orca/localise2d.h> 00015 00016 namespace gps2localise2d { 00017 00018 // 00019 // @author Alex Brooks 00020 // 00021 class Driver 00022 { 00023 00024 public: 00025 00026 virtual ~Driver() {} 00027 00028 // Converts the GPS info into localise2d format. 00029 // Returns 'false' if the conversion can't be done (eg because GPS doesn't have a fix). 00030 virtual bool compute( const orca::GpsData &gpsData, orca::Localise2dData &localiseData )=0; 00031 00032 private: 00033 00034 00035 }; 00036 00037 } 00038 00039 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)