Public Member Functions | Private Member Functions | Private Attributes
Foscam8918Driver::Foscam8918 Class Reference

#include <foscam_8918_driver.h>

List of all members.

Public Member Functions

 Foscam8918 (ros::NodeHandle nh_)
 ~Foscam8918 ()
 Destructor.

Private Member Functions

void configCallback (foscam_8918_driver::foscam_8918_driverConfig &config, uint32_t level)
 Callback function for dynamic reconfigure server.
bool connectToCamera ()
 Connect to the camera.
void timerCallback (const ros::TimerEvent &event)
 Callback function for timer that kicks off all the work.

Private Attributes

boost::shared_ptr
< camera_info_manager::CameraInfoManager
camera_info_manager_
cv_bridge::CvImage cv_img_
bool have_connection_
image_transport::CameraPublisher image_pub_
std::string ip_address_
boost::shared_ptr
< image_transport::ImageTransport
it_
 Publishing camera data.
std::string password_
std::string port_
int rate_
 Variables for capturing video.
dynamic_reconfigure::Server
< foscam_8918_driver::foscam_8918_driverConfig >
::CallbackType 
reconfig_cb_
 Dynamic reconfigure callback function.
dynamic_reconfigure::Server
< foscam_8918_driver::foscam_8918_driverConfig > 
reconfig_srv_
 Dynamic reconfigure server.
std::string url_suffix_
std::string username_
 Parameters needed to connect to camera.
cv::VideoCapture vcap_

Detailed Description

Definition at line 30 of file foscam_8918_driver.h.


Constructor & Destructor Documentation

Constructor.

Parameters:
nh_The node handle that topics and parameters are attached to.

Definition at line 6 of file foscam_8918_driver.cpp.

Destructor.

Definition at line 38 of file foscam_8918_driver.cpp.


Member Function Documentation

void Foscam8918Driver::Foscam8918::configCallback ( foscam_8918_driver::foscam_8918_driverConfig &  config,
uint32_t  level 
) [private]

Callback function for dynamic reconfigure server.

Definition at line 85 of file foscam_8918_driver.cpp.

Connect to the camera.

Definition at line 42 of file foscam_8918_driver.cpp.

Callback function for timer that kicks off all the work.

Todo:
Clean up the header values with use of parameters and better spot for getting time.

Definition at line 59 of file foscam_8918_driver.cpp.


Member Data Documentation

Definition at line 70 of file foscam_8918_driver.h.

Definition at line 71 of file foscam_8918_driver.h.

Definition at line 64 of file foscam_8918_driver.h.

Definition at line 69 of file foscam_8918_driver.h.

Definition at line 58 of file foscam_8918_driver.h.

Publishing camera data.

Definition at line 68 of file foscam_8918_driver.h.

Definition at line 57 of file foscam_8918_driver.h.

std::string Foscam8918Driver::Foscam8918::port_ [private]

Definition at line 59 of file foscam_8918_driver.h.

Variables for capturing video.

Definition at line 63 of file foscam_8918_driver.h.

dynamic_reconfigure::Server<foscam_8918_driver::foscam_8918_driverConfig>::CallbackType Foscam8918Driver::Foscam8918::reconfig_cb_ [private]

Dynamic reconfigure callback function.

Definition at line 53 of file foscam_8918_driver.h.

dynamic_reconfigure::Server<foscam_8918_driver::foscam_8918_driverConfig> Foscam8918Driver::Foscam8918::reconfig_srv_ [private]

Dynamic reconfigure server.

Definition at line 51 of file foscam_8918_driver.h.

Definition at line 60 of file foscam_8918_driver.h.

Parameters needed to connect to camera.

Definition at line 56 of file foscam_8918_driver.h.

cv::VideoCapture Foscam8918Driver::Foscam8918::vcap_ [private]

Definition at line 65 of file foscam_8918_driver.h.


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


foscam_8918_driver
Author(s): Thomas Denewiler
autogenerated on Fri Aug 28 2015 10:41:49