00001 #include <ros/ros.h> 00002 #include <tf/transform_listener.h> 00003 00004 #include "RobotOperator.h" 00005 00006 using namespace ros; 00007 00008 int main(int argc, char **argv) 00009 { 00010 init(argc, argv, NODE_NAME); 00011 NodeHandle n; 00012 00013 RobotOperator robOp; 00014 00015 Rate loopRate(10); 00016 while(ok()) 00017 { 00018 robOp.executeCommand(); 00019 spinOnce(); 00020 loopRate.sleep(); 00021 } 00022 return 0; 00023 }