stereo_camera_node.cpp
Go to the documentation of this file.
1 #include <ros/ros.h>
2 #include <boost/thread.hpp>
4 
5 int main(int argc, char** argv)
6 {
7  ros::init(argc, argv, "stereo_camera_node");
8 
10  ros::NodeHandle nhp("~");
11 
13  boost::thread stereoThread(&avt_vimba_camera::StereoCamera::run, &sc);
14 
15  // ROS spin
16  ros::Rate r(10);
17  while (ros::ok())
18  r.sleep();
19  ros::shutdown();
20 
21  return 0;
22 }
int main(int argc, char **argv)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL bool ok()
bool sleep()
ROSCPP_DECL void shutdown()


avt_vimba_camera
Author(s): Miquel Massot , Allied Vision Technologies
autogenerated on Wed Jun 5 2019 22:22:40