Main.cpp
Go to the documentation of this file.
00001 /*
00002  * Main.cpp
00003  *
00004  *  Created on: Nov 8, 2011
00005  *      Author: mriedel
00006  */
00007 
00008 #include <telekyb_core/TeleKybCore.hpp>
00009 
00010 #include <telekyb_base/TeleKyb.hpp>
00011 #include <ros/ros.h>
00012 
00013 // main
00014 int main(int argc, char **argv) {
00015 
00016         // This has to run with a few more threads
00017         telekyb::RawOptionsContainer::addOption("tRosNrSpinnerThreads","4");
00018         telekyb::TeleKyb::init(argc,argv,"TeleKybCore", ros::init_options::AnonymousName);
00019 
00020         telekyb::TeleKybCore* core = new telekyb::TeleKybCore();
00021 
00022         // wait for shutdown.
00023         ros::waitForShutdown();
00024 
00025         // delete
00026         delete core;
00027 
00028         telekyb::TeleKyb::shutdown();
00029 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


telekyb_core
Author(s): Dr. Antonio Franchi and Martin Riedel
autogenerated on Mon Nov 11 2013 11:13:47