#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 (const char *frame, size_t size, const Camera &cam, sensor_msgs::CameraInfoPtr &info, sensor_msgs::CameraInfo &msg_info) |
void | publishImageL (const char *frame, size_t size) |
void | publishImageR (const char *frame, size_t size) |
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_ |
sensor_msgs::CameraInfo | l_msg_camera_info_ |
image_transport::CameraPublisher | l_pub_stream_ |
ros::ServiceServer | l_srv_cam_info_ |
ros::Time | l_stamp_ |
boost::mutex | mutex_ |
ueye::Camera | r_cam_ |
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 49 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 530 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 | ( | const char * | frame, |
size_t | size, | ||
const Camera & | cam, | ||
sensor_msgs::CameraInfoPtr & | info, | ||
sensor_msgs::CameraInfo & | msg_info | ||
) | [private] |
Definition at line 451 of file StereoNode.cpp.
void ueye::StereoNode::publishImageL | ( | const char * | frame, |
size_t | size | ||
) | [private] |
Definition at line 476 of file StereoNode.cpp.
void ueye::StereoNode::publishImageR | ( | const char * | frame, |
size_t | size | ||
) | [private] |
Definition at line 491 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 507 of file StereoNode.cpp.
void ueye::StereoNode::stopCamera | ( | ) | [private] |
Definition at line 518 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 87 of file StereoNode.h.
bool ueye::StereoNode::auto_gain_ [private] |
Definition at line 88 of file StereoNode.h.
std::string ueye::StereoNode::config_path_ [private] |
Definition at line 85 of file StereoNode.h.
bool ueye::StereoNode::configured_ [private] |
Definition at line 83 of file StereoNode.h.
bool ueye::StereoNode::force_streaming_ [private] |
Definition at line 84 of file StereoNode.h.
Definition at line 93 of file StereoNode.h.
ueye::Camera ueye::StereoNode::l_cam_ [private] |
Definition at line 81 of file StereoNode.h.
sensor_msgs::CameraInfo ueye::StereoNode::l_msg_camera_info_ [private] |
Definition at line 79 of file StereoNode.h.
Definition at line 94 of file StereoNode.h.
Definition at line 95 of file StereoNode.h.
ros::Time ueye::StereoNode::l_stamp_ [private] |
Definition at line 90 of file StereoNode.h.
boost::mutex ueye::StereoNode::mutex_ [private] |
Definition at line 98 of file StereoNode.h.
ueye::Camera ueye::StereoNode::r_cam_ [private] |
Definition at line 81 of file StereoNode.h.
sensor_msgs::CameraInfo ueye::StereoNode::r_msg_camera_info_ [private] |
Definition at line 79 of file StereoNode.h.
Definition at line 94 of file StereoNode.h.
Definition at line 95 of file StereoNode.h.
ros::Time ueye::StereoNode::r_stamp_ [private] |
Definition at line 90 of file StereoNode.h.
bool ueye::StereoNode::running_ [private] |
Definition at line 82 of file StereoNode.h.
dynamic_reconfigure::Server<stereoConfig> ueye::StereoNode::srv_ [private] |
Definition at line 76 of file StereoNode.h.
ros::Timer ueye::StereoNode::timer_ [private] |
Definition at line 77 of file StereoNode.h.
Definition at line 78 of file StereoNode.h.
int ueye::StereoNode::trigger_mode_ [private] |
Definition at line 86 of file StereoNode.h.
int ueye::StereoNode::zoom_ [private] |
Definition at line 89 of file StereoNode.h.