orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
staticdriver.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2008 Alex Brooks, Alexei Makarenko, Tobias Kaupp 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 00011 #ifndef STATIC_DRIVER_H 00012 #define STATIC_DRIVER_H 00013 00014 #include "driver.h" 00015 00016 namespace simlocaliser 00017 { 00018 00019 class StaticDriver : public Driver 00020 { 00021 public: 00022 00023 StaticDriver( const orca::Frame2d & pose ); 00024 virtual ~StaticDriver() {}; 00025 00026 // returns: 0 = success, non-zero = failure 00027 virtual int enable() { return 0; }; 00028 virtual int repair() { return 0; }; 00029 virtual int disable() { return 0; }; 00030 00031 virtual int read( orca::Localise2dData& location2d ); 00032 00033 private: 00034 00035 orca::Localise2dData location2d_; 00036 }; 00037 00038 } // namespace 00039 00040 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)