freenect_node.cpp
Go to the documentation of this file.
1 #include <ros/ros.h>
2 #include <nodelet/loader.h>
3 
4 int main(int argc, char** argv)
5 {
6  ros::init(argc, argv, "freenect_driver");
7 
8  nodelet::Loader manager(true); // Bring up manager ROS API
9  nodelet::M_string remappings;
10  nodelet::V_string my_argv;
11 
12  // Driver nodelet
13  manager.load(ros::this_node::getName(), "xiaoqiang_freenect_camera/driver", remappings, my_argv);
14 
15  // Manager service calls are on global callback queue
16  ros::spin();
17 }
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)
int main(int argc, char **argv)
std::vector< std::string > V_string
std::map< std::string, std::string > M_string


xiaoqiang_freenect_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu (original openni_camera driver)., Piyush Khandelwal (libfreenect port).
autogenerated on Mon Jun 10 2019 15:53:18