#include <ximea_ros_driver.h>
Public Member Functions | |
void | publishCamInfo (const ros::Time &now) |
void | publishImage (const ros::Time &now) |
void | publishImageAndCamInfo () |
virtual void | setImageDataFormat (std::string s) |
ximea_ros_driver (const ros::NodeHandle &nh, std::string cam_name, int serial_no, std::string yaml_url) | |
ximea_ros_driver (const ros::NodeHandle &nh, std::string file_name) | |
Protected Attributes | |
int | bpp_ |
char * | cam_buffer_ |
int | cam_buffer_size_ |
sensor_msgs::CameraInfo | cam_info_ |
boost::shared_ptr < camera_info_manager::CameraInfoManager > | cam_info_manager_ |
ros::Publisher | cam_info_pub_ |
std::string | encoding_ |
boost::shared_ptr < image_transport::ImageTransport > | it_ |
ros::NodeHandle | pnh_ |
image_transport::Publisher | ros_cam_pub_ |
sensor_msgs::Image | ros_image_ |
Private Member Functions | |
void | common_initialize (const ros::NodeHandle &nh) |
Definition at line 27 of file ximea_ros_driver.h.
ximea_ros_driver::ximea_ros_driver | ( | const ros::NodeHandle & | nh, |
std::string | cam_name, | ||
int | serial_no, | ||
std::string | yaml_url | ||
) |
Definition at line 18 of file ximea_ros_driver.cpp.
ximea_ros_driver::ximea_ros_driver | ( | const ros::NodeHandle & | nh, |
std::string | file_name | ||
) |
Definition at line 28 of file ximea_ros_driver.cpp.
void ximea_ros_driver::common_initialize | ( | const ros::NodeHandle & | nh | ) | [private] |
Definition at line 38 of file ximea_ros_driver.cpp.
void ximea_ros_driver::publishCamInfo | ( | const ros::Time & | now | ) |
Definition at line 65 of file ximea_ros_driver.cpp.
void ximea_ros_driver::publishImage | ( | const ros::Time & | now | ) |
Definition at line 48 of file ximea_ros_driver.cpp.
Definition at line 73 of file ximea_ros_driver.cpp.
void ximea_ros_driver::setImageDataFormat | ( | std::string | s | ) | [virtual] |
Reimplemented from ximea_driver.
Definition at line 80 of file ximea_ros_driver.cpp.
int ximea_ros_driver::bpp_ [protected] |
Definition at line 48 of file ximea_ros_driver.h.
char* ximea_ros_driver::cam_buffer_ [protected] |
Definition at line 46 of file ximea_ros_driver.h.
int ximea_ros_driver::cam_buffer_size_ [protected] |
Definition at line 47 of file ximea_ros_driver.h.
sensor_msgs::CameraInfo ximea_ros_driver::cam_info_ [protected] |
Definition at line 45 of file ximea_ros_driver.h.
boost::shared_ptr<camera_info_manager::CameraInfoManager> ximea_ros_driver::cam_info_manager_ [protected] |
Definition at line 39 of file ximea_ros_driver.h.
ros::Publisher ximea_ros_driver::cam_info_pub_ [protected] |
Definition at line 42 of file ximea_ros_driver.h.
std::string ximea_ros_driver::encoding_ [protected] |
Definition at line 49 of file ximea_ros_driver.h.
boost::shared_ptr<image_transport::ImageTransport> ximea_ros_driver::it_ [protected] |
Definition at line 40 of file ximea_ros_driver.h.
ros::NodeHandle ximea_ros_driver::pnh_ [protected] |
Definition at line 38 of file ximea_ros_driver.h.
Definition at line 41 of file ximea_ros_driver.h.
sensor_msgs::Image ximea_ros_driver::ros_image_ [protected] |
Definition at line 44 of file ximea_ros_driver.h.