00001 #ifndef VISP_TRACKER_CALLBACKS_HH 00002 # define VISP_TRACKER_CALLBACKS_HH 00003 # include <image_transport/image_transport.h> 00004 # include <sensor_msgs/Image.h> 00005 # include <std_msgs/Header.h> 00006 # include <visp/vpImage.h> 00007 # include <visp/vpMbEdgeTracker.h> 00008 # include <visp/vpMe.h> 00009 00010 # include <visp_tracker/MovingEdgeConfig.h> 00011 00012 00013 void 00014 imageCallback(vpImage<unsigned char>& image, 00015 const sensor_msgs::Image::ConstPtr& msg, 00016 const sensor_msgs::CameraInfoConstPtr& info); 00017 00018 void 00019 imageCallback(vpImage<unsigned char>& image, 00020 std_msgs::Header& header, 00021 sensor_msgs::CameraInfoConstPtr& info, 00022 const sensor_msgs::Image::ConstPtr& msg, 00023 const sensor_msgs::CameraInfoConstPtr& infoConst); 00024 00025 image_transport::CameraSubscriber::Callback 00026 bindImageCallback(vpImage<unsigned char>& image); 00027 00028 image_transport::CameraSubscriber::Callback 00029 bindImageCallback(vpImage<unsigned char>& image, 00030 std_msgs::Header& header, 00031 sensor_msgs::CameraInfoConstPtr& info); 00032 00033 00034 void reconfigureCallback(vpMbEdgeTracker& tracker, 00035 vpImage<unsigned char>& I, 00036 vpMe& moving_edge, 00037 visp_tracker::MovingEdgeConfig& config, 00038 uint32_t level); 00039 00040 #endif //! VISP_TRACKER_CALLBACKS_HH