00001 /*********************************************************************************************/ 00032 /* Author: Jan Bacik */ 00033 00034 #include <ros/ros.h> 00035 #include <image_transport/image_transport.h> 00036 #include <aruco_mapping.h> 00037 00038 int 00039 main(int argc, char **argv) 00040 { 00041 ros::init(argc,argv,"aruco_mapping"); 00042 ros::NodeHandle nh; 00043 00044 // Aruco mapping object 00045 aruco_mapping::ArucoMapping obj(&nh); 00046 00047 // Image node and subscriber 00048 image_transport::ImageTransport it(nh); 00049 image_transport::Subscriber img_sub = it.subscribe("/image_raw", 1, &aruco_mapping::ArucoMapping::imageCallback, &obj); 00050 00051 ros::spin(); 00052 00053 return(EXIT_SUCCESS); 00054 } 00055