Public Member Functions | Private Attributes | List of all members
uvc_camera::Camera Class Reference

#include <camera.h>

Public Member Functions

 Camera (ros::NodeHandle comm_nh, ros::NodeHandle param_nh)
 
void feedImages ()
 
void onInit ()
 
void sendInfo (sensor_msgs::ImagePtr &image, ros::Time time)
 
void sendInfoJpeg (ros::Time time)
 
 ~Camera ()
 

Private Attributes

uvc_cam::Camcam
 
std::string device
 
std::string format
 
int fps
 
std::string frame
 
int frames_to_skip
 
int height
 
boost::thread image_thread
 
camera_info_manager::CameraInfoManager info_mgr
 
ros::Publisher info_pub
 
image_transport::ImageTransport it
 
ros::NodeHandle node
 
bool ok
 
ros::NodeHandle pnode
 
image_transport::Publisher pub
 
ros::Publisher pubjpeg
 
bool rotate
 
int skip_frames
 
int width
 

Detailed Description

Definition at line 9 of file camera.h.

Constructor & Destructor Documentation

uvc_camera::Camera::Camera ( ros::NodeHandle  comm_nh,
ros::NodeHandle  param_nh 
)

Definition at line 20 of file camera.cpp.

uvc_camera::Camera::~Camera ( )

Definition at line 293 of file camera.cpp.

Member Function Documentation

void uvc_camera::Camera::feedImages ( )

Definition at line 228 of file camera.cpp.

void uvc_camera::Camera::onInit ( )
void uvc_camera::Camera::sendInfo ( sensor_msgs::ImagePtr &  image,
ros::Time  time 
)

Definition at line 198 of file camera.cpp.

void uvc_camera::Camera::sendInfoJpeg ( ros::Time  time)

Definition at line 220 of file camera.cpp.

Member Data Documentation

uvc_cam::Cam* uvc_camera::Camera::cam
private

Definition at line 33 of file camera.h.

std::string uvc_camera::Camera::device
private

Definition at line 24 of file camera.h.

std::string uvc_camera::Camera::format
private

Definition at line 24 of file camera.h.

int uvc_camera::Camera::fps
private

Definition at line 23 of file camera.h.

std::string uvc_camera::Camera::frame
private

Definition at line 24 of file camera.h.

int uvc_camera::Camera::frames_to_skip
private

Definition at line 23 of file camera.h.

int uvc_camera::Camera::height
private

Definition at line 23 of file camera.h.

boost::thread uvc_camera::Camera::image_thread
private

Definition at line 34 of file camera.h.

camera_info_manager::CameraInfoManager uvc_camera::Camera::info_mgr
private

Definition at line 27 of file camera.h.

ros::Publisher uvc_camera::Camera::info_pub
private

Definition at line 31 of file camera.h.

image_transport::ImageTransport uvc_camera::Camera::it
private

Definition at line 20 of file camera.h.

ros::NodeHandle uvc_camera::Camera::node
private

Definition at line 19 of file camera.h.

bool uvc_camera::Camera::ok
private

Definition at line 21 of file camera.h.

ros::NodeHandle uvc_camera::Camera::pnode
private

Definition at line 19 of file camera.h.

image_transport::Publisher uvc_camera::Camera::pub
private

Definition at line 29 of file camera.h.

ros::Publisher uvc_camera::Camera::pubjpeg
private

Definition at line 30 of file camera.h.

bool uvc_camera::Camera::rotate
private

Definition at line 25 of file camera.h.

int uvc_camera::Camera::skip_frames
private

Definition at line 23 of file camera.h.

int uvc_camera::Camera::width
private

Definition at line 23 of file camera.h.


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


uvc_camera
Author(s): Ken Tossell
autogenerated on Sat Jun 8 2019 17:54:12