Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
imi_wrapper::ImiDriver Class Reference

#include <imi_Driver.h>

Public Member Functions

 ImiDriver (ros::NodeHandle &n, ros::NodeHandle &pnh)
 
 ~ImiDriver ()
 

Private Types

typedef imi_ros_cfg::ImiConfig Config
 
typedef dynamic_reconfigure::Server< ConfigReconfigureServer
 

Private Member Functions

void advertiseROSTopics ()
 
void colorConnectCb ()
 
void configCb (Config &config, uint32_t level)
 
void couldCb ()
 
void depthConnectCb ()
 
int initDevice ()
 
void newCloudPointCallback (boost::shared_ptr< sensor_msgs::PointCloud2 > cloudPtr)
 
void newColorFrameCallback (sensor_msgs::ImagePtr image)
 
void newDepthFrameCallback (sensor_msgs::ImagePtr image)
 
void newUVCFrameCallback (sensor_msgs::ImagePtr image)
 
int startColorStream ()
 
int startDepthStream ()
 
int startUVCStream ()
 
void uvcConnectCb ()
 

Private Attributes

bool cloud_subscribers_
 
bool color_subscribers_
 
int colorMode
 
bool config_init
 
bool depth_subscribers_
 
int depthMode
 
ros::NodeHandlenh_
 
ImiDevicepImiDevice
 
ros::NodeHandlepnh_
 
ros::Publisher pub_cloud_
 
image_transport::CameraPublisher pub_color_
 
image_transport::CameraPublisher pub_depth_
 
image_transport::CameraPublisher pub_uvc_
 
boost::shared_ptr< ReconfigureServerreconfigure_server_
 
bool uvc_subscribers_
 

Detailed Description

Definition at line 17 of file imi_Driver.h.

Member Typedef Documentation

typedef imi_ros_cfg::ImiConfig imi_wrapper::ImiDriver::Config
private

Definition at line 20 of file imi_Driver.h.

typedef dynamic_reconfigure::Server<Config> imi_wrapper::ImiDriver::ReconfigureServer
private

Definition at line 21 of file imi_Driver.h.

Constructor & Destructor Documentation

imi_wrapper::ImiDriver::ImiDriver ( ros::NodeHandle n,
ros::NodeHandle pnh 
)

Definition at line 57 of file imi_Driver.cpp.

imi_wrapper::ImiDriver::~ImiDriver ( )

Definition at line 84 of file imi_Driver.cpp.

Member Function Documentation

void imi_wrapper::ImiDriver::advertiseROSTopics ( )
private

Definition at line 326 of file imi_Driver.cpp.

void imi_wrapper::ImiDriver::colorConnectCb ( )
private

Definition at line 249 of file imi_Driver.cpp.

void imi_wrapper::ImiDriver::configCb ( Config config,
uint32_t  level 
)
private

Definition at line 92 of file imi_Driver.cpp.

void imi_wrapper::ImiDriver::couldCb ( )
private

Definition at line 307 of file imi_Driver.cpp.

void imi_wrapper::ImiDriver::depthConnectCb ( )
private

Definition at line 287 of file imi_Driver.cpp.

int imi_wrapper::ImiDriver::initDevice ( )
private

Definition at line 100 of file imi_Driver.cpp.

void imi_wrapper::ImiDriver::newCloudPointCallback ( boost::shared_ptr< sensor_msgs::PointCloud2 >  cloudPtr)
private

Definition at line 240 of file imi_Driver.cpp.

void imi_wrapper::ImiDriver::newColorFrameCallback ( sensor_msgs::ImagePtr  image)
private

Definition at line 145 of file imi_Driver.cpp.

void imi_wrapper::ImiDriver::newDepthFrameCallback ( sensor_msgs::ImagePtr  image)
private

Definition at line 204 of file imi_Driver.cpp.

void imi_wrapper::ImiDriver::newUVCFrameCallback ( sensor_msgs::ImagePtr  image)
private

Definition at line 168 of file imi_Driver.cpp.

int imi_wrapper::ImiDriver::startColorStream ( )
private

Definition at line 123 of file imi_Driver.cpp.

int imi_wrapper::ImiDriver::startDepthStream ( )
private

Definition at line 111 of file imi_Driver.cpp.

int imi_wrapper::ImiDriver::startUVCStream ( )
private

Definition at line 134 of file imi_Driver.cpp.

void imi_wrapper::ImiDriver::uvcConnectCb ( )
private

Definition at line 267 of file imi_Driver.cpp.

Member Data Documentation

bool imi_wrapper::ImiDriver::cloud_subscribers_
private

Definition at line 46 of file imi_Driver.h.

bool imi_wrapper::ImiDriver::color_subscribers_
private

Definition at line 44 of file imi_Driver.h.

int imi_wrapper::ImiDriver::colorMode
private

Definition at line 56 of file imi_Driver.h.

bool imi_wrapper::ImiDriver::config_init
private

Definition at line 54 of file imi_Driver.h.

bool imi_wrapper::ImiDriver::depth_subscribers_
private

Definition at line 45 of file imi_Driver.h.

int imi_wrapper::ImiDriver::depthMode
private

Definition at line 55 of file imi_Driver.h.

ros::NodeHandle& imi_wrapper::ImiDriver::nh_
private

Definition at line 41 of file imi_Driver.h.

ImiDevice* imi_wrapper::ImiDriver::pImiDevice
private

Definition at line 43 of file imi_Driver.h.

ros::NodeHandle& imi_wrapper::ImiDriver::pnh_
private

Definition at line 42 of file imi_Driver.h.

ros::Publisher imi_wrapper::ImiDriver::pub_cloud_
private

Definition at line 51 of file imi_Driver.h.

image_transport::CameraPublisher imi_wrapper::ImiDriver::pub_color_
private

Definition at line 49 of file imi_Driver.h.

image_transport::CameraPublisher imi_wrapper::ImiDriver::pub_depth_
private

Definition at line 50 of file imi_Driver.h.

image_transport::CameraPublisher imi_wrapper::ImiDriver::pub_uvc_
private

Definition at line 52 of file imi_Driver.h.

boost::shared_ptr<ReconfigureServer> imi_wrapper::ImiDriver::reconfigure_server_
private

Definition at line 53 of file imi_Driver.h.

bool imi_wrapper::ImiDriver::uvc_subscribers_
private

Definition at line 47 of file imi_Driver.h.


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


imi_camera
Author(s): hjimi , HUAJIEIMI
autogenerated on Mon Jun 10 2019 13:32:59