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