rail_segmentation.cpp
Go to the documentation of this file.
1 
13 
14 using namespace std;
15 using namespace rail::segmentation;
16 
24 int main(int argc, char **argv)
25 {
26  // initialize ROS and the node
27  ros::init(argc, argv, "rail_segmentation");
28  Segmenter segmenter;
29  // check if everything started okay
30  if (segmenter.okay())
31  {
32  ros::spin();
33  return EXIT_SUCCESS;
34  } else
35  {
36  return EXIT_FAILURE;
37  }
38 }
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
The main grasp collector node object.
Definition: Segmenter.h:76
ROSCPP_DECL void spin(Spinner &spinner)
int main(int argc, char **argv)
bool okay() const
A check for a valid Segmenter.
Definition: Segmenter.cpp:250
The main segmentation node object.


rail_segmentation
Author(s): Russell Toris , David Kent
autogenerated on Sun Feb 16 2020 04:02:44