#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 64 of file StereoNode.h.
ueye::StereoNode::StereoNode | ( | ros::NodeHandle | node, |
ros::NodeHandle | private_nh | ||
) |
Definition at line 40 of file StereoNode.cpp.
Definition at line 144 of file StereoNode.cpp.
void ueye::StereoNode::closeCamera | ( | ) | [private] |
Definition at line 522 of file StereoNode.cpp.
void ueye::StereoNode::handlePath | ( | std::string & | path | ) | [private] |
Definition at line 149 of file StereoNode.cpp.
void ueye::StereoNode::loadIntrinsics | ( | Camera & | cam, |
sensor_msgs::CameraInfo & | msg_info | ||
) | [private] |
Definition at line 428 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 451 of file StereoNode.cpp.
void ueye::StereoNode::publishImageL | ( | IplImage * | frame | ) | [private] |
Definition at line 470 of file StereoNode.cpp.
void ueye::StereoNode::publishImageR | ( | IplImage * | frame | ) | [private] |
Definition at line 484 of file StereoNode.cpp.
void ueye::StereoNode::reconfig | ( | stereoConfig & | config, |
uint32_t | level | ||
) | [private] |
Definition at line 253 of file StereoNode.cpp.
void ueye::StereoNode::reconfigCam | ( | stereoConfig & | config, |
uint32_t | level, | ||
Camera & | cam | ||
) | [private] |
Definition at line 165 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 371 of file StereoNode.cpp.
bool ueye::StereoNode::setCameraInfoL | ( | sensor_msgs::SetCameraInfo::Request & | req, |
sensor_msgs::SetCameraInfo::Response & | rsp | ||
) | [private] |
Definition at line 418 of file StereoNode.cpp.
bool ueye::StereoNode::setCameraInfoR | ( | sensor_msgs::SetCameraInfo::Request & | req, |
sensor_msgs::SetCameraInfo::Response & | rsp | ||
) | [private] |
Definition at line 422 of file StereoNode.cpp.
void ueye::StereoNode::startCamera | ( | ) | [private] |
Definition at line 499 of file StereoNode.cpp.
void ueye::StereoNode::stopCamera | ( | ) | [private] |
Definition at line 510 of file StereoNode.cpp.
void ueye::StereoNode::timerCallback | ( | const ros::TimerEvent & | event | ) | [private] |
Definition at line 349 of file StereoNode.cpp.
void ueye::StereoNode::timerForceTrigger | ( | const ros::TimerEvent & | event | ) | [private] |
Definition at line 357 of file StereoNode.cpp.
bool ueye::StereoNode::auto_exposure_ [private] |
Definition at line 103 of file StereoNode.h.
bool ueye::StereoNode::auto_gain_ [private] |
Definition at line 104 of file StereoNode.h.
std::string ueye::StereoNode::config_path_ [private] |
Definition at line 101 of file StereoNode.h.
bool ueye::StereoNode::configured_ [private] |
Definition at line 99 of file StereoNode.h.
bool ueye::StereoNode::force_streaming_ [private] |
Definition at line 100 of file StereoNode.h.
Definition at line 109 of file StereoNode.h.
ueye::Camera ueye::StereoNode::l_cam_ [private] |
Definition at line 97 of file StereoNode.h.
Definition at line 96 of file StereoNode.h.
sensor_msgs::CameraInfo ueye::StereoNode::l_msg_camera_info_ [private] |
Definition at line 94 of file StereoNode.h.
Definition at line 110 of file StereoNode.h.
Definition at line 111 of file StereoNode.h.
ros::Time ueye::StereoNode::l_stamp_ [private] |
Definition at line 106 of file StereoNode.h.
ueye::Camera ueye::StereoNode::r_cam_ [private] |
Definition at line 97 of file StereoNode.h.
Definition at line 96 of file StereoNode.h.
sensor_msgs::CameraInfo ueye::StereoNode::r_msg_camera_info_ [private] |
Definition at line 94 of file StereoNode.h.
Definition at line 110 of file StereoNode.h.
Definition at line 111 of file StereoNode.h.
ros::Time ueye::StereoNode::r_stamp_ [private] |
Definition at line 106 of file StereoNode.h.
bool ueye::StereoNode::running_ [private] |
Definition at line 98 of file StereoNode.h.
dynamic_reconfigure::Server<stereoConfig> ueye::StereoNode::srv_ [private] |
Definition at line 91 of file StereoNode.h.
ros::Timer ueye::StereoNode::timer_ [private] |
Definition at line 92 of file StereoNode.h.
Definition at line 93 of file StereoNode.h.
int ueye::StereoNode::trigger_mode_ [private] |
Definition at line 102 of file StereoNode.h.
int ueye::StereoNode::zoom_ [private] |
Definition at line 105 of file StereoNode.h.