Main Page
Namespaces
Classes
Files
File List
File Members
nodes
rail_segmentation.cpp
Go to the documentation of this file.
1
12
#include "
rail_segmentation/Segmenter.h
"
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
}
rail::segmentation
Definition:
SegmentationZone.h:20
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
std
rail::segmentation::Segmenter
The main grasp collector node object.
Definition:
Segmenter.h:76
ros::spin
ROSCPP_DECL void spin(Spinner &spinner)
main
int main(int argc, char **argv)
Definition:
rail_segmentation.cpp:24
rail::segmentation::Segmenter::okay
bool okay() const
A check for a valid Segmenter.
Definition:
Segmenter.cpp:250
Segmenter.h
The main segmentation node object.
rail_segmentation
Author(s): Russell Toris
, David Kent
autogenerated on Sun Feb 16 2020 04:02:44