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