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

SourceForge.net Logo
Project
Download
Mailing lists

 

         

components/laser2og/mainthread.h

00001 /*
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 #ifndef MAIN_THREAD_H
00011 #define MAIN_THREAD_H
00012 
00013 #include <memory>
00014 #include <orcaice/subsystemthread.h>
00015 #include <orcaice/context.h>
00016 
00017 #include <orca/ogfusion.h>
00018 #include <orca/localise2d.h>
00019 #include <orcaifaceimpl/rangescanner2d.h>
00020 #include "laser2og.h"
00021 
00022 namespace laser2og
00023 {
00024 
00025 class MainThread : public orcaice::SubsystemThread
00026 {
00027 public:
00028     
00029     MainThread( const orcaice::Context &context );
00030     
00031 private:
00032     // from SubsystemThread
00033     virtual void initialise();
00034     virtual void work();
00035     
00036     // for our requests for current location
00037     orca::Localise2dPrx localise2dPrx_;
00038     // for getting config data
00039     orca::RangeScanner2dPrx rangeScannerPrx_;
00040     // for setting ogfusion data
00041     orca::OgFusionPrx ogFusionPrx_;
00042     // for receiving the data
00043     orcaifaceimpl::BufferedRangeScanner2dConsumerImplPtr rangeScannerConsumer_;
00044 
00045     std::auto_ptr<Laser2Og> laser2Og_;
00046 
00047     orcaice::Context context_;
00048 };
00049 
00050 } //namespace
00051 
00052 #endif
00053 
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5