00001 00006 #include "yocs_keyop/keyop.hpp" 00007 00008 00009 int main(int argc, char **argv) 00010 { 00011 ros::init(argc, argv, "yocs_keyop"); 00012 yocs_keyop::KeyOp keyop; 00013 if (keyop.init()) 00014 { 00015 keyop.spin(); 00016 } 00017 else 00018 { 00019 ROS_ERROR_STREAM("Couldn't initialise KeyOp!"); 00020 } 00021 00022 ROS_INFO_STREAM("Program exiting"); 00023 return 0; 00024 }