00001 00012 #include "rail_grasp_collection/GraspCollector.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, "rail_grasp_collection"); 00028 GraspCollector collector; 00029 // check if everything started okay 00030 if (collector.okay()) 00031 { 00032 ros::spin(); 00033 return EXIT_SUCCESS; 00034 } else 00035 { 00036 return EXIT_FAILURE; 00037 } 00038 }