ClientTracker.cpp
Go to the documentation of this file.
00001 /*
00002  * ClientTracker.cpp
00003  *
00004  *  Created on: Nov 30, 2012
00005  *      Author: vgrabe
00006 */
00007 
00008 
00009 #include <vrpn_tracker/VRPNTrackerClient.hpp>
00010 #include <vrpn_tracker/VRPNTrackerClientOptions.hpp>
00011 
00012 int main(int argc, char **argv) {
00013         ros::init(argc,argv,"VRPNClientTracker");
00014 
00015         VRPNTrackerClientOptions* options = new VRPNTrackerClientOptions();
00016 
00017         VRPNTrackerClient* client;
00018 
00019         client = new VRPNTrackerClient(options->tVRPNClientObject);
00020 
00021 
00022         while(ros::ok()) {
00023                 client->spin();
00024                 usleep(10);
00025         }
00026 
00027         delete client;
00028         delete options;
00029 
00030         return EXIT_SUCCESS;
00031 }
00032 
00033 
00034 
00035 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


vrpn_tracker
Author(s): Martin Riedel
autogenerated on Mon Nov 11 2013 11:14:25