sync_node.cpp
Go to the documentation of this file.
00001 #include <ros/ros.h>
00002 #include <boost/thread.hpp>
00003 #include <avt_vimba_camera/sync.h>
00004 
00005 int main(int argc, char** argv)
00006 {
00007   ros::init(argc, argv, "sync_node");
00008 
00009   ros::NodeHandle nh;
00010   ros::NodeHandle nhp("~");
00011 
00012   avt_vimba_camera::Sync sync(nh,nhp);
00013 
00014   boost::thread syncThread(&avt_vimba_camera::Sync::run, &sync);
00015 
00016   // ROS spin
00017   ros::Rate r(10);
00018   while (ros::ok())
00019     r.sleep();
00020 
00021   ros::shutdown();
00022   return 0;
00023 }


avt_vimba_camera
Author(s): Miquel Massot , Allied Vision Technologies
autogenerated on Thu Jun 6 2019 18:23:39