main.cpp
Go to the documentation of this file.
1 /*
2  * Player - One Hell of a Robot Server
3  * Copyright (C) 2000
4  * Brian Gerkey, Kasper Stoy, Richard Vaughan, & Andrew Howard
5  * Andrew Martignoni III
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20  *
21  */
22 
23 #include <ros/ros.h>
25 
26 int main( int argc, char **argv)
27 {
28  ros::init(argc, argv, "cmvision");
29  ros::NodeHandle node_handle;
30 
32  if(!cmvision.initialize(node_handle))
33  {
34  ROS_ERROR_NAMED("cmvision", "could not initialize cmvision color blob finder.");
35  return -1;
36  }
37  ros::spin();
38  return 0;
39 }
ros::init
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ros.h
color_blob_track::CMVisionColorBlobFinder::initialize
bool initialize(ros::NodeHandle &node_handle)
initialization function
Definition: cmvision_color_blob_finder.cpp:51
main
int main(int argc, char **argv)
Definition: main.cpp:26
ROS_ERROR_NAMED
#define ROS_ERROR_NAMED(name,...)
color_blob_track::CMVisionColorBlobFinder
Definition: cmvision_color_blob_finder.h:48
cmvision_color_blob_finder.h
ros::spin
ROSCPP_DECL void spin()
ros::NodeHandle


cmvision
Author(s): Nate Koenig, Nate Koenig
autogenerated on Wed Mar 2 2022 00:03:25