00001 /* 00002 * Player - One Hell of a Robot Server 00003 * Copyright (C) 2000 00004 * Brian Gerkey, Kasper Stoy, Richard Vaughan, & Andrew Howard 00005 * Andrew Martignoni III 00006 * 00007 * This program is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 * 00021 */ 00022 00023 #include <ros/ros.h> 00024 #include "cmvision_color_blob_finder.h" 00025 00026 int main( int argc, char **argv) 00027 { 00028 ros::init(argc, argv, "cmvision"); 00029 ros::NodeHandle node_handle; 00030 00031 color_blob_track::CMVisionColorBlobFinder cmvision; 00032 if(!cmvision.initialize(node_handle)) 00033 { 00034 ROS_ERROR_NAMED("cmvision", "could not initialize cmvision color blob finder."); 00035 return -1; 00036 } 00037 ros::spin(); 00038 return 0; 00039 }