replace_colors.cpp
Go to the documentation of this file.
00001 
00002 // *****************************************************************************
00003 //
00004 // Copyright (c) 2017, Southwest Research Institute® (SwRI®)
00005 // All rights reserved.
00006 //
00007 // Redistribution and use in source and binary forms, with or without
00008 // modification, are permitted provided that the following conditions are met:
00009 //     * Redistributions of source code must retain the above copyright
00010 //       notice, this list of conditions and the following disclaimer.
00011 //     * Redistributions in binary form must reproduce the above copyright
00012 //       notice, this list of conditions and the following disclaimer in the
00013 //       documentation and/or other materials provided with the distribution.
00014 //     * Neither the name of Southwest Research Institute® (SwRI®) nor the
00015 //       names of its contributors may be used to endorse or promote products
00016 //       derived from this software without specific prior written permission.
00017 //
00018 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00019 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00020 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00021 // ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
00022 // DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00023 // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00024 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00025 // ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00026 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00027 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00028 //
00029 // *****************************************************************************
00030 
00031 #include <ros/ros.h>
00032 #include <nodelet/loader.h>
00033 
00034 int main(int argc, char **argv)
00035 {
00036   ros::init(argc, argv, "replace_colors", ros::init_options::AnonymousName);
00037   nodelet::Loader manager(false);
00038 
00039   nodelet::M_string remappings;
00040   nodelet::V_string my_argv;
00041   manager.load(
00042     ros::this_node::getName(),
00043     "swri_image_util/replace_colors",
00044     remappings,
00045     my_argv);
00046     ros::spin();
00047     return 0;
00048 }


swri_image_util
Author(s): Kris Kozak
autogenerated on Tue Oct 3 2017 03:19:34