vicon.cpp
Go to the documentation of this file.
00001 /*
00002  * vicon.cpp
00003  *
00004  *  Created on: Oct 17, 2011
00005  *      Author: mriedel
00006  */
00007 
00008 // Base
00009 #include <telekyb_base/TeleKyb.hpp>
00010 
00011 #include <telekyb_vicon/ViconTracker.hpp>
00012 
00013 // ROS
00014 #include <ros/ros.h>
00015 
00016 // For Fakethread
00017 #include <boost/thread.hpp>
00018 
00019 using namespace telekyb;
00020 
00021 
00022 int main(int argc, char** argv) {
00023 
00024         // if removed it will segfault in ros::start(). No idea why.
00025         boost::thread fakethread;
00026 
00027         TeleKyb::init(argc, argv, "telekyb_vicon");
00028 
00029 
00030 
00031         ViconTracker *tracker = new ViconTracker;
00032         tracker->spin();
00033         delete tracker;
00034 
00035         TeleKyb::shutdown();
00036 
00037 
00038         // break. Client::Disconnect Hangs forever.
00039         //ROS_BREAK();
00040 
00041         return 0;
00042 }
00043 
00044 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


telekyb_vicon
Author(s): Dr. Antonio Franchi
autogenerated on Wed Apr 24 2013 11:29:26