#include <StereoNode.h>
Public Member Functions | |
StereoNode (ros::NodeHandle node, ros::NodeHandle private_nh) | |
~StereoNode () | |
Private Member Functions | |
void | closeCamera () |
void | handlePath (std::string &path) |
void | loadIntrinsics (Camera &cam, sensor_msgs::CameraInfo &msg_info) |
sensor_msgs::ImagePtr | processFrame (IplImage *frame, Camera &cam, cv_bridge::CvImage &converter, sensor_msgs::CameraInfoPtr &info, sensor_msgs::CameraInfo &msg_info) |
void | publishImageL (IplImage *frame) |
void | publishImageR (IplImage *frame) |
void | reconfig (stereoConfig &config, uint32_t level) |
void | reconfigCam (stereoConfig &config, uint32_t level, Camera &cam) |
bool | setCameraInfo (sensor_msgs::SetCameraInfo::Request &req, sensor_msgs::SetCameraInfo::Response &rsp, Camera &cam, sensor_msgs::CameraInfo &msg_info) |
bool | setCameraInfoL (sensor_msgs::SetCameraInfo::Request &req, sensor_msgs::SetCameraInfo::Response &rsp) |
bool | setCameraInfoR (sensor_msgs::SetCameraInfo::Request &req, sensor_msgs::SetCameraInfo::Response &rsp) |
void | startCamera () |
void | stopCamera () |
void | timerCallback (const ros::TimerEvent &event) |
void | timerForceTrigger (const ros::TimerEvent &event) |
Private Attributes | |
bool | auto_exposure_ |
bool | auto_gain_ |
std::string | config_path_ |
bool | configured_ |
bool | force_streaming_ |
image_transport::ImageTransport | it_ |
ueye::Camera | l_cam_ |
cv_bridge::CvImage | l_converter_ |
sensor_msgs::CameraInfo | l_msg_camera_info_ |
image_transport::CameraPublisher | l_pub_stream_ |
ros::ServiceServer | l_srv_cam_info_ |
ros::Time | l_stamp_ |
ueye::Camera | r_cam_ |
cv_bridge::CvImage | r_converter_ |
sensor_msgs::CameraInfo | r_msg_camera_info_ |
image_transport::CameraPublisher | r_pub_stream_ |
ros::ServiceServer | r_srv_cam_info_ |
ros::Time | r_stamp_ |
bool | running_ |
dynamic_reconfigure::Server < stereoConfig > | srv_ |
ros::Timer | timer_ |
ros::Timer | timer_force_trigger_ |
int | trigger_mode_ |
int | zoom_ |
Definition at line 63 of file StereoNode.h.
ueye::StereoNode::StereoNode | ( | ros::NodeHandle | node, |
ros::NodeHandle | private_nh | ||
) |
Definition at line 39 of file StereoNode.cpp.
Definition at line 143 of file StereoNode.cpp.
void ueye::StereoNode::closeCamera | ( | ) | [private] |
Definition at line 481 of file StereoNode.cpp.
void ueye::StereoNode::handlePath | ( | std::string & | path | ) | [private] |
Definition at line 148 of file StereoNode.cpp.
void ueye::StereoNode::loadIntrinsics | ( | Camera & | cam, |
sensor_msgs::CameraInfo & | msg_info | ||
) | [private] |
Definition at line 387 of file StereoNode.cpp.
sensor_msgs::ImagePtr ueye::StereoNode::processFrame | ( | IplImage * | frame, |
Camera & | cam, | ||
cv_bridge::CvImage & | converter, | ||
sensor_msgs::CameraInfoPtr & | info, | ||
sensor_msgs::CameraInfo & | msg_info | ||
) | [private] |
Definition at line 410 of file StereoNode.cpp.
void ueye::StereoNode::publishImageL | ( | IplImage * | frame | ) | [private] |
Definition at line 429 of file StereoNode.cpp.
void ueye::StereoNode::publishImageR | ( | IplImage * | frame | ) | [private] |
Definition at line 443 of file StereoNode.cpp.
void ueye::StereoNode::reconfig | ( | stereoConfig & | config, |
uint32_t | level | ||
) | [private] |
Definition at line 207 of file StereoNode.cpp.
void ueye::StereoNode::reconfigCam | ( | stereoConfig & | config, |
uint32_t | level, | ||
Camera & | cam | ||
) | [private] |
Definition at line 164 of file StereoNode.cpp.
bool ueye::StereoNode::setCameraInfo | ( | sensor_msgs::SetCameraInfo::Request & | req, |
sensor_msgs::SetCameraInfo::Response & | rsp, | ||
Camera & | cam, | ||
sensor_msgs::CameraInfo & | msg_info | ||
) | [private] |
Definition at line 330 of file StereoNode.cpp.
bool ueye::StereoNode::setCameraInfoL | ( | sensor_msgs::SetCameraInfo::Request & | req, |
sensor_msgs::SetCameraInfo::Response & | rsp | ||
) | [private] |
Definition at line 377 of file StereoNode.cpp.
bool ueye::StereoNode::setCameraInfoR | ( | sensor_msgs::SetCameraInfo::Request & | req, |
sensor_msgs::SetCameraInfo::Response & | rsp | ||
) | [private] |
Definition at line 381 of file StereoNode.cpp.
void ueye::StereoNode::startCamera | ( | ) | [private] |
Definition at line 458 of file StereoNode.cpp.
void ueye::StereoNode::stopCamera | ( | ) | [private] |
Definition at line 469 of file StereoNode.cpp.
void ueye::StereoNode::timerCallback | ( | const ros::TimerEvent & | event | ) | [private] |
Definition at line 303 of file StereoNode.cpp.
void ueye::StereoNode::timerForceTrigger | ( | const ros::TimerEvent & | event | ) | [private] |
Definition at line 314 of file StereoNode.cpp.
bool ueye::StereoNode::auto_exposure_ [private] |
Definition at line 104 of file StereoNode.h.
bool ueye::StereoNode::auto_gain_ [private] |
Definition at line 105 of file StereoNode.h.
std::string ueye::StereoNode::config_path_ [private] |
Definition at line 102 of file StereoNode.h.
bool ueye::StereoNode::configured_ [private] |
Definition at line 100 of file StereoNode.h.
bool ueye::StereoNode::force_streaming_ [private] |
Definition at line 101 of file StereoNode.h.
image_transport::ImageTransport ueye::StereoNode::it_ [private] |
Definition at line 110 of file StereoNode.h.
ueye::Camera ueye::StereoNode::l_cam_ [private] |
Definition at line 98 of file StereoNode.h.
cv_bridge::CvImage ueye::StereoNode::l_converter_ [private] |
Definition at line 97 of file StereoNode.h.
sensor_msgs::CameraInfo ueye::StereoNode::l_msg_camera_info_ [private] |
Definition at line 95 of file StereoNode.h.
image_transport::CameraPublisher ueye::StereoNode::l_pub_stream_ [private] |
Definition at line 111 of file StereoNode.h.
Definition at line 112 of file StereoNode.h.
ros::Time ueye::StereoNode::l_stamp_ [private] |
Definition at line 107 of file StereoNode.h.
ueye::Camera ueye::StereoNode::r_cam_ [private] |
Definition at line 98 of file StereoNode.h.
cv_bridge::CvImage ueye::StereoNode::r_converter_ [private] |
Definition at line 97 of file StereoNode.h.
sensor_msgs::CameraInfo ueye::StereoNode::r_msg_camera_info_ [private] |
Definition at line 95 of file StereoNode.h.
image_transport::CameraPublisher ueye::StereoNode::r_pub_stream_ [private] |
Definition at line 111 of file StereoNode.h.
Definition at line 112 of file StereoNode.h.
ros::Time ueye::StereoNode::r_stamp_ [private] |
Definition at line 107 of file StereoNode.h.
bool ueye::StereoNode::running_ [private] |
Definition at line 99 of file StereoNode.h.
dynamic_reconfigure::Server<stereoConfig> ueye::StereoNode::srv_ [private] |
Definition at line 92 of file StereoNode.h.
ros::Timer ueye::StereoNode::timer_ [private] |
Definition at line 93 of file StereoNode.h.
Definition at line 94 of file StereoNode.h.
int ueye::StereoNode::trigger_mode_ [private] |
Definition at line 103 of file StereoNode.h.
int ueye::StereoNode::zoom_ [private] |
Definition at line 106 of file StereoNode.h.