Public Member Functions | Private Types | Private Member Functions | Private Attributes
avt_vimba_camera::StereoCamera Class Reference

#include <stereo_camera.h>

List of all members.

Public Member Functions

void run ()
 StereoCamera (ros::NodeHandle nh, ros::NodeHandle nhp)
 ~StereoCamera (void)

Private Types

typedef
avt_vimba_camera::AvtVimbaCameraConfig 
Config
typedef
dynamic_reconfigure::Server
< StereoConfig
ReconfigureServer
typedef
avt_vimba_camera::AvtVimbaCameraStereoConfig 
StereoConfig

Private Member Functions

void checkCallback ()
void configure (StereoConfig &newconfig, uint32_t level)
void copyConfig (StereoConfig &sc, Config &lc, Config &rc)
void leftFrameCallback (const FramePtr &vimba_frame_ptr)
void rightFrameCallback (const FramePtr &vimba_frame_ptr)
void syncCallback ()
void updateCameraInfo (const StereoConfig &config)

Private Attributes

AvtVimbaApi api_
StereoConfig camera_config_
boost::asio::deadline_timer check_timer_
double desired_freq_
int imgs_buffer_size_
boost::asio::io_service io_
image_transport::ImageTransport it_
std::vector< sensor_msgs::Image > l_imgs_buffer_
double l_last_time_
mutex l_sync_mutex_
AvtVimbaCamera left_cam_
std::string left_camera_info_url_
std::string left_guid_
boost::shared_ptr
< camera_info_manager::CameraInfoManager
left_info_man_
bool left_init_
 > Desired image freq
std::string left_ip_
ros::NodeHandle left_nhp_
image_transport::CameraPublisher left_pub_
double max_sec_diff_
ros::NodeHandle nh_
ros::NodeHandle nhp_
diagnostic_updater::TopicDiagnosticpub_freq_
ros::Publisher pub_left_temp_
ros::Publisher pub_right_temp_
std::vector< sensor_msgs::Image > r_imgs_buffer_
double r_last_time_
mutex r_sync_mutex_
ReconfigureServer reconfigure_server_
AvtVimbaCamera right_cam_
std::string right_camera_info_url_
std::string right_guid_
boost::shared_ptr
< camera_info_manager::CameraInfoManager
right_info_man_
bool right_init_
std::string right_ip_
ros::NodeHandle right_nhp_
image_transport::CameraPublisher right_pub_
bool show_debug_prints_
diagnostic_updater::FunctionDiagnosticTasksync_check_
boost::asio::deadline_timer sync_timer_
double sync_timer_step_
diagnostic_updater::Updater updater_

Detailed Description

Definition at line 63 of file stereo_camera.h.


Member Typedef Documentation

typedef avt_vimba_camera::AvtVimbaCameraConfig avt_vimba_camera::StereoCamera::Config [private]

Definition at line 108 of file stereo_camera.h.

typedef dynamic_reconfigure::Server<StereoConfig> avt_vimba_camera::StereoCamera::ReconfigureServer [private]

Definition at line 110 of file stereo_camera.h.

typedef avt_vimba_camera::AvtVimbaCameraStereoConfig avt_vimba_camera::StereoCamera::StereoConfig [private]

Definition at line 109 of file stereo_camera.h.


Constructor & Destructor Documentation

Definition at line 38 of file stereo_camera.cpp.

Definition at line 55 of file stereo_camera.cpp.


Member Function Documentation

Definition at line 457 of file stereo_camera.cpp.

void avt_vimba_camera::StereoCamera::configure ( StereoConfig newconfig,
uint32_t  level 
) [private]

Dynamic reconfigure callback

Called immediately when callback first defined. Called again when dynamic reconfigure starts or changes a parameter value.

Parameters:
newconfignew Config values
levelbit-wise OR of reconfiguration levels for all changed parameters (0xffffffff on initial call)

Definition at line 252 of file stereo_camera.cpp.

void avt_vimba_camera::StereoCamera::copyConfig ( StereoConfig sc,
Config lc,
Config rc 
) [private]

Definition at line 277 of file stereo_camera.cpp.

void avt_vimba_camera::StereoCamera::leftFrameCallback ( const FramePtr vimba_frame_ptr) [private]

Definition at line 105 of file stereo_camera.cpp.

void avt_vimba_camera::StereoCamera::rightFrameCallback ( const FramePtr vimba_frame_ptr) [private]

Definition at line 144 of file stereo_camera.cpp.

Definition at line 63 of file stereo_camera.cpp.

Definition at line 183 of file stereo_camera.cpp.

Definition at line 378 of file stereo_camera.cpp.


Member Data Documentation

Definition at line 70 of file stereo_camera.h.

Definition at line 114 of file stereo_camera.h.

boost::asio::deadline_timer avt_vimba_camera::StereoCamera::check_timer_ [private]

Definition at line 133 of file stereo_camera.h.

Definition at line 117 of file stereo_camera.h.

Definition at line 126 of file stereo_camera.h.

boost::asio::io_service avt_vimba_camera::StereoCamera::io_ [private]

Definition at line 132 of file stereo_camera.h.

Definition at line 94 of file stereo_camera.h.

std::vector<sensor_msgs::Image> avt_vimba_camera::StereoCamera::l_imgs_buffer_ [private]

Definition at line 125 of file stereo_camera.h.

Definition at line 120 of file stereo_camera.h.

Definition at line 127 of file stereo_camera.h.

Definition at line 71 of file stereo_camera.h.

Definition at line 84 of file stereo_camera.h.

Definition at line 82 of file stereo_camera.h.

Definition at line 104 of file stereo_camera.h.

> Desired image freq

Definition at line 118 of file stereo_camera.h.

Definition at line 80 of file stereo_camera.h.

Definition at line 90 of file stereo_camera.h.

Definition at line 97 of file stereo_camera.h.

Definition at line 129 of file stereo_camera.h.

Definition at line 88 of file stereo_camera.h.

Definition at line 89 of file stereo_camera.h.

Definition at line 75 of file stereo_camera.h.

Definition at line 101 of file stereo_camera.h.

Definition at line 102 of file stereo_camera.h.

std::vector<sensor_msgs::Image> avt_vimba_camera::StereoCamera::r_imgs_buffer_ [private]

Definition at line 124 of file stereo_camera.h.

Definition at line 121 of file stereo_camera.h.

Definition at line 128 of file stereo_camera.h.

Definition at line 111 of file stereo_camera.h.

Definition at line 72 of file stereo_camera.h.

Definition at line 85 of file stereo_camera.h.

Definition at line 83 of file stereo_camera.h.

Definition at line 105 of file stereo_camera.h.

Definition at line 119 of file stereo_camera.h.

Definition at line 81 of file stereo_camera.h.

Definition at line 91 of file stereo_camera.h.

Definition at line 98 of file stereo_camera.h.

Definition at line 77 of file stereo_camera.h.

Definition at line 76 of file stereo_camera.h.

boost::asio::deadline_timer avt_vimba_camera::StereoCamera::sync_timer_ [private]

Definition at line 134 of file stereo_camera.h.

Definition at line 135 of file stereo_camera.h.

Definition at line 74 of file stereo_camera.h.


The documentation for this class was generated from the following files:


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