flir_boson_usb_node.cpp
Go to the documentation of this file.
1 /*
2  * Copyright © 2019 AutonomouStuff, LLC
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy of this
5  * software and associated documentation files (the “Software”), to deal in the Software
6  * without restriction, including without limitation the rights to use, copy, modify,
7  * merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
8  * permit persons to whom the Software is furnished to do so, subject to the following conditions:
9  *
10  * The above copyright notice and this permission notice shall be included in all copies
11  * or substantial portions of the Software.
12  *
13  * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
14  * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
15  * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
16  * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
17  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
18  * OR OTHER DEALINGS IN THE SOFTWARE.
19  */
20 
21 #include <string>
22 
23 // ROS Includes
24 #include <ros/ros.h>
25 #include <nodelet/loader.h>
26 
27 int main(int argc, char** argv)
28 {
29  ros::init(argc, argv, "Boson Camera Node");
32  nodelet::V_string nargv;
33  std::string nodelet_name = ros::this_node::getName();
34  nodelet.load(nodelet_name, "flir_boson_usb/BosonCamera", remap, nargv);
35  ros::spin();
36  return 0;
37 }
bool load(const std::string &name, const std::string &type, const M_string &remappings, const V_string &my_argv)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL const std::string & getName()
ROSCPP_DECL void spin(Spinner &spinner)
ROSCPP_DECL const M_string & getRemappings()
ROSCPP_DECL std::string remap(const std::string &name)
int main(int argc, char **argv)
std::vector< std::string > V_string
std::map< std::string, std::string > M_string


flir_boson_usb
Author(s): Joe Driscoll , Joshua Whitley
autogenerated on Thu Mar 18 2021 02:32:10