00001 /* 00002 * Copyright © 2019 AutonomouStuff, LLC 00003 * 00004 * Permission is hereby granted, free of charge, to any person obtaining a copy of this 00005 * software and associated documentation files (the “Software”), to deal in the Software 00006 * without restriction, including without limitation the rights to use, copy, modify, 00007 * merge, publish, distribute, sublicense, and/or sell copies of the Software, and to 00008 * permit persons to whom the Software is furnished to do so, subject to the following conditions: 00009 * 00010 * The above copyright notice and this permission notice shall be included in all copies 00011 * or substantial portions of the Software. 00012 * 00013 * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 00014 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 00015 * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 00016 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 00017 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE 00018 * OR OTHER DEALINGS IN THE SOFTWARE. 00019 */ 00020 00021 #include <string> 00022 00023 // ROS Includes 00024 #include <ros/ros.h> 00025 #include <nodelet/loader.h> 00026 00027 int main(int argc, char** argv) 00028 { 00029 ros::init(argc, argv, "Boson Camera Node"); 00030 nodelet::Loader nodelet; 00031 nodelet::M_string remap(ros::names::getRemappings()); 00032 nodelet::V_string nargv; 00033 std::string nodelet_name = ros::this_node::getName(); 00034 nodelet.load(nodelet_name, "flir_boson_usb/BosonCamera", remap, nargv); 00035 ros::spin(); 00036 return 0; 00037 }