00001 00012 #include "rail_recognition/ObjectRecognizer.h" 00013 00014 using namespace std; 00015 using namespace rail::pick_and_place; 00016 00024 int main(int argc, char **argv) 00025 { 00026 // initialize ROS and the node 00027 ros::init(argc, argv, "object_recognizer"); 00028 ObjectRecognizer recognizer; 00029 // check if everything started okay 00030 if (recognizer.okay()) 00031 { 00032 ros::spin(); 00033 return EXIT_SUCCESS; 00034 } else 00035 { 00036 return EXIT_FAILURE; 00037 } 00038 }