#include <foscam_8918_driver.h>
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_ |
Definition at line 30 of file foscam_8918_driver.h.
Constructor.
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.
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.
bool Foscam8918Driver::Foscam8918::connectToCamera | ( | ) | [private] |
Connect to the camera.
Definition at line 42 of file foscam_8918_driver.cpp.
void Foscam8918Driver::Foscam8918::timerCallback | ( | const ros::TimerEvent & | event | ) | [private] |
Callback function for timer that kicks off all the work.
Definition at line 59 of file foscam_8918_driver.cpp.
boost::shared_ptr<camera_info_manager::CameraInfoManager> Foscam8918Driver::Foscam8918::camera_info_manager_ [private] |
Definition at line 70 of file foscam_8918_driver.h.
Definition at line 71 of file foscam_8918_driver.h.
bool Foscam8918Driver::Foscam8918::have_connection_ [private] |
Definition at line 64 of file foscam_8918_driver.h.
Definition at line 69 of file foscam_8918_driver.h.
std::string Foscam8918Driver::Foscam8918::ip_address_ [private] |
Definition at line 58 of file foscam_8918_driver.h.
boost::shared_ptr<image_transport::ImageTransport> Foscam8918Driver::Foscam8918::it_ [private] |
Publishing camera data.
Definition at line 68 of file foscam_8918_driver.h.
std::string Foscam8918Driver::Foscam8918::password_ [private] |
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.
int Foscam8918Driver::Foscam8918::rate_ [private] |
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.
std::string Foscam8918Driver::Foscam8918::url_suffix_ [private] |
Definition at line 60 of file foscam_8918_driver.h.
std::string Foscam8918Driver::Foscam8918::username_ [private] |
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.