33 #ifndef STEREO_CAMERA_H 34 #define STEREO_CAMERA_H 37 #include <avt_vimba_camera/AvtVimbaCameraConfig.h> 38 #include <avt_vimba_camera/AvtVimbaCameraStereoConfig.h> 42 #include <sensor_msgs/Image.h> 43 #include <sensor_msgs/CameraInfo.h> 46 #include <dynamic_reconfigure/server.h> 47 #include <std_msgs/Float64.h> 52 #include <boost/bind.hpp> 53 #include <boost/thread/thread.hpp> 54 #include <boost/asio.hpp> 55 #include <boost/date_time/posix_time/posix_time.hpp> 58 #include <boost/thread/mutex.hpp> 60 using namespace boost;
108 typedef avt_vimba_camera::AvtVimbaCameraConfig
Config;
124 void leftFrameCallback(
const FramePtr& vimba_frame_ptr);
125 void rightFrameCallback(
const FramePtr& vimba_frame_ptr);
127 void configure(StereoConfig& newconfig, uint32_t level);
128 void updateCameraInfo(
const StereoConfig& config);
129 void copyConfig(StereoConfig& sc, Config& lc, Config& rc);
130 void checkCallback();
diagnostic_updater::Updater updater_
ros::NodeHandle right_nhp_
NetPointer< Frame, AVT::VmbAPINET::Frame > FramePtr
std::string right_camera_info_url_
diagnostic_updater::TopicDiagnostic * pub_freq_
boost::shared_ptr< camera_info_manager::CameraInfoManager > left_info_man_
std::string left_camera_info_url_
ReconfigureServer reconfigure_server_
ros::Publisher pub_left_temp_
image_transport::ImageTransport it_
std::vector< sensor_msgs::Image > r_imgs_buffer_
StereoConfig camera_config_
boost::shared_ptr< camera_info_manager::CameraInfoManager > right_info_man_
avt_vimba_camera::AvtVimbaCameraStereoConfig StereoConfig
std::vector< sensor_msgs::Image > l_imgs_buffer_
dynamic_reconfigure::Server< StereoConfig > ReconfigureServer
image_transport::CameraPublisher left_pub_
ros::NodeHandle left_nhp_
avt_vimba_camera::AvtVimbaCameraConfig Config
ros::Publisher pub_right_temp_
image_transport::CameraPublisher right_pub_
void run(ClassLoader *loader)
diagnostic_updater::FunctionDiagnosticTask * sync_check_
AvtVimbaCamera right_cam_