barcode_reader_node.cpp
Go to the documentation of this file.
1 
32 #include <ros/ros.h>
33 #include <nodelet/loader.h>
34 
35 int main(int argc, char **argv){
36  ros::init(argc, argv, "barcode_reader_node");
37 
40  nodelet::V_string nargv;
41  std::string nodelet_name = ros::this_node::getName();
42  nodelet.load(nodelet_name, "zbar_ros/barcode_reader_nodelet", remap, nargv);
43  ros::spin();
44 
45  return 0;
46 
47 }
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()
int main(int argc, char **argv)
ROSCPP_DECL void spin(Spinner &spinner)
ROSCPP_DECL const M_string & getRemappings()
ROSCPP_DECL std::string remap(const std::string &name)
std::vector< std::string > V_string
std::map< std::string, std::string > M_string


zbar_ros
Author(s): Paul Bovbel
autogenerated on Thu Jun 6 2019 19:19:39