Protected Member Functions | Protected Attributes
video_stream_opencv::VideoStreamNodelet Class Reference
Inheritance diagram for video_stream_opencv::VideoStreamNodelet:
Inheritance graph
[legend]

List of all members.

Protected Member Functions

virtual void configCallback (VideoStreamConfig &config, uint32_t level)
virtual void connectionCallback (const image_transport::SingleSubscriberPublisher &)
virtual void connectionCallbackImpl ()
virtual void disconnectionCallback (const image_transport::SingleSubscriberPublisher &)
virtual void disconnectionCallbackImpl ()
virtual void do_capture ()
virtual void do_publish (const ros::TimerEvent &event)
virtual sensor_msgs::CameraInfo get_default_camera_info_from_image (sensor_msgs::ImagePtr img)
virtual void infoConnectionCallback (const ros::SingleSubscriberPublisher &)
virtual void infoDisconnectionCallback (const ros::SingleSubscriberPublisher &)
virtual void onInit ()
virtual void subscribe ()
virtual void unsubscribe ()
virtual ~VideoStreamNodelet ()

Protected Attributes

sensor_msgs::CameraInfo cam_info_msg
std::string camera_info_url
std::string camera_name
boost::shared_ptr
< cv::VideoCapture > 
cap
boost::thread capture_thread
bool capture_thread_running
boost::shared_ptr
< dynamic_reconfigure::Server
< VideoStreamConfig > > 
dyn_srv
bool flip_horizontal
bool flip_vertical
double fps
cv::Mat frame
std::string frame_id
std::queue< cv::Mat > framesQueue
int height_target
bool loop_videofile
int max_queue_size
boost::shared_ptr
< ros::NodeHandle
nh
boost::shared_ptr
< ros::NodeHandle
pnh
image_transport::CameraPublisher pub
ros::Timer publish_timer
std::mutex q_mutex
bool reopen_on_read_failure
std::mutex s_mutex
double set_camera_fps
int subscriber_num
std::string video_stream_provider
std::string video_stream_provider_type
int width_target

Detailed Description

Definition at line 58 of file video_stream.cpp.


Constructor & Destructor Documentation

virtual video_stream_opencv::VideoStreamNodelet::~VideoStreamNodelet ( ) [inline, protected, virtual]

Definition at line 443 of file video_stream.cpp.


Member Function Documentation

virtual void video_stream_opencv::VideoStreamNodelet::configCallback ( VideoStreamConfig &  config,
uint32_t  level 
) [inline, protected, virtual]

Definition at line 306 of file video_stream.cpp.

Definition at line 290 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::connectionCallbackImpl ( ) [inline, protected, virtual]

Definition at line 268 of file video_stream.cpp.

Definition at line 298 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::disconnectionCallbackImpl ( ) [inline, protected, virtual]

Definition at line 276 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::do_capture ( ) [inline, protected, virtual]

Definition at line 117 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::do_publish ( const ros::TimerEvent event) [inline, protected, virtual]

Definition at line 175 of file video_stream.cpp.

virtual sensor_msgs::CameraInfo video_stream_opencv::VideoStreamNodelet::get_default_camera_info_from_image ( sensor_msgs::ImagePtr  img) [inline, protected, virtual]

Definition at line 89 of file video_stream.cpp.

Definition at line 294 of file video_stream.cpp.

Definition at line 302 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::onInit ( ) [inline, protected, virtual]

Implements nodelet::Nodelet.

Definition at line 387 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::subscribe ( ) [inline, protected, virtual]

Definition at line 214 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::unsubscribe ( ) [inline, protected, virtual]

Definition at line 260 of file video_stream.cpp.


Member Data Documentation

sensor_msgs::CameraInfo video_stream_opencv::VideoStreamNodelet::cam_info_msg [protected]

Definition at line 85 of file video_stream.cpp.

Definition at line 70 of file video_stream.cpp.

Definition at line 69 of file video_stream.cpp.

boost::shared_ptr<cv::VideoCapture> video_stream_opencv::VideoStreamNodelet::cap [protected]

Definition at line 66 of file video_stream.cpp.

Definition at line 83 of file video_stream.cpp.

Definition at line 81 of file video_stream.cpp.

boost::shared_ptr<dynamic_reconfigure::Server<VideoStreamConfig> > video_stream_opencv::VideoStreamNodelet::dyn_srv [protected]

Definition at line 62 of file video_stream.cpp.

Definition at line 79 of file video_stream.cpp.

Definition at line 80 of file video_stream.cpp.

Definition at line 73 of file video_stream.cpp.

Definition at line 65 of file video_stream.cpp.

Definition at line 71 of file video_stream.cpp.

Definition at line 64 of file video_stream.cpp.

Definition at line 78 of file video_stream.cpp.

Definition at line 75 of file video_stream.cpp.

Definition at line 74 of file video_stream.cpp.

Definition at line 60 of file video_stream.cpp.

Definition at line 60 of file video_stream.cpp.

Definition at line 61 of file video_stream.cpp.

Definition at line 84 of file video_stream.cpp.

Definition at line 63 of file video_stream.cpp.

Definition at line 82 of file video_stream.cpp.

Definition at line 63 of file video_stream.cpp.

Definition at line 72 of file video_stream.cpp.

Definition at line 76 of file video_stream.cpp.

Definition at line 67 of file video_stream.cpp.

Definition at line 68 of file video_stream.cpp.

Definition at line 77 of file video_stream.cpp.


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


video_stream_opencv
Author(s): Sammy Pfeiffer
autogenerated on Wed Jun 19 2019 19:51:32