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