ensenso_camera_node.cpp
Go to the documentation of this file.
1 #include <ros/ros.h>
2 
3 #include <nodelet/loader.h>
4 #include <nodelet/nodelet.h>
5 
6 #include <cstdlib>
7 
12 int main(int argc, char** argv)
13 {
14  ros::init(argc, argv, "ensenso_camera_node");
15 
17  nodelet::V_string arguments;
18  for (int i = 0; i < argc; i++)
19  {
20  arguments.push_back(argv[i]);
21  }
22 
24  nodelet.load(ros::this_node::getName(), "ensenso_camera/nodelet", remappings, arguments);
25 
26  ros::spin();
27 
28  return EXIT_SUCCESS;
29 }
bool load(const std::string &name, const std::string &type, const M_string &remappings, const V_string &my_argv)
int main(int argc, char **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()
std::vector< std::string > V_string
std::map< std::string, std::string > M_string


ensenso_camera
Author(s): Ensenso
autogenerated on Thu May 16 2019 02:44:23