main.cpp
Go to the documentation of this file.
00001 /**********************************************************************************************/
00022 using namespace std;
00023 
00024 #include "RosLoService.h"
00025 
00026 #include <tr1/functional>
00027 #include <stdio.h>
00028 
00029 bool (*funcpt)(vision_srvs::srvjlo::Request& request, vision_srvs::srvjlo::Response&  answer);
00030 
00031 int main(int argc, char** argv)
00032 {
00033   ros::init(argc, argv, "jlo");
00034   ros::NodeHandle n("jlo");
00035   std::string config_file;
00036 
00037   n.param<std::string>("config_file", config_file, "bla.ini");
00038 
00039   if(argc > 1)
00040   {
00041     config_file = argv[1];
00042   }
00043   else
00044   {
00045     printf("Usage: %s configfile servicename\n", argv[0]);
00046   }
00047   RosLoService lo ("jlo", n, config_file );
00048   ros::spin();
00049   return 0;
00050 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


jlo
Author(s): Ulrich F Klank
autogenerated on Thu May 23 2013 10:38:09