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 |
Definition at line 58 of file video_stream.cpp.
virtual video_stream_opencv::VideoStreamNodelet::~VideoStreamNodelet | ( | ) | [inline, protected, virtual] |
Definition at line 443 of file video_stream.cpp.
virtual void video_stream_opencv::VideoStreamNodelet::configCallback | ( | VideoStreamConfig & | config, |
uint32_t | level | ||
) | [inline, protected, virtual] |
Definition at line 306 of file video_stream.cpp.
virtual void video_stream_opencv::VideoStreamNodelet::connectionCallback | ( | const image_transport::SingleSubscriberPublisher & | ) | [inline, protected, virtual] |
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.
virtual void video_stream_opencv::VideoStreamNodelet::disconnectionCallback | ( | const image_transport::SingleSubscriberPublisher & | ) | [inline, protected, virtual] |
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.
virtual void video_stream_opencv::VideoStreamNodelet::infoConnectionCallback | ( | const ros::SingleSubscriberPublisher & | ) | [inline, protected, virtual] |
Definition at line 294 of file video_stream.cpp.
virtual void video_stream_opencv::VideoStreamNodelet::infoDisconnectionCallback | ( | const ros::SingleSubscriberPublisher & | ) | [inline, protected, virtual] |
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.
sensor_msgs::CameraInfo video_stream_opencv::VideoStreamNodelet::cam_info_msg [protected] |
Definition at line 85 of file video_stream.cpp.
std::string video_stream_opencv::VideoStreamNodelet::camera_info_url [protected] |
Definition at line 70 of file video_stream.cpp.
std::string video_stream_opencv::VideoStreamNodelet::camera_name [protected] |
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.
boost::thread video_stream_opencv::VideoStreamNodelet::capture_thread [protected] |
Definition at line 83 of file video_stream.cpp.
bool video_stream_opencv::VideoStreamNodelet::capture_thread_running [protected] |
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.
bool video_stream_opencv::VideoStreamNodelet::flip_horizontal [protected] |
Definition at line 79 of file video_stream.cpp.
bool video_stream_opencv::VideoStreamNodelet::flip_vertical [protected] |
Definition at line 80 of file video_stream.cpp.
double video_stream_opencv::VideoStreamNodelet::fps [protected] |
Definition at line 73 of file video_stream.cpp.
cv::Mat video_stream_opencv::VideoStreamNodelet::frame [protected] |
Definition at line 65 of file video_stream.cpp.
std::string video_stream_opencv::VideoStreamNodelet::frame_id [protected] |
Definition at line 71 of file video_stream.cpp.
std::queue<cv::Mat> video_stream_opencv::VideoStreamNodelet::framesQueue [protected] |
Definition at line 64 of file video_stream.cpp.
int video_stream_opencv::VideoStreamNodelet::height_target [protected] |
Definition at line 78 of file video_stream.cpp.
bool video_stream_opencv::VideoStreamNodelet::loop_videofile [protected] |
Definition at line 75 of file video_stream.cpp.
int video_stream_opencv::VideoStreamNodelet::max_queue_size [protected] |
Definition at line 74 of file video_stream.cpp.
boost::shared_ptr<ros::NodeHandle> video_stream_opencv::VideoStreamNodelet::nh [protected] |
Definition at line 60 of file video_stream.cpp.
boost::shared_ptr<ros::NodeHandle> video_stream_opencv::VideoStreamNodelet::pnh [protected] |
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.
std::mutex video_stream_opencv::VideoStreamNodelet::q_mutex [protected] |
Definition at line 63 of file video_stream.cpp.
bool video_stream_opencv::VideoStreamNodelet::reopen_on_read_failure [protected] |
Definition at line 82 of file video_stream.cpp.
std::mutex video_stream_opencv::VideoStreamNodelet::s_mutex [protected] |
Definition at line 63 of file video_stream.cpp.
double video_stream_opencv::VideoStreamNodelet::set_camera_fps [protected] |
Definition at line 72 of file video_stream.cpp.
int video_stream_opencv::VideoStreamNodelet::subscriber_num [protected] |
Definition at line 76 of file video_stream.cpp.
std::string video_stream_opencv::VideoStreamNodelet::video_stream_provider [protected] |
Definition at line 67 of file video_stream.cpp.
std::string video_stream_opencv::VideoStreamNodelet::video_stream_provider_type [protected] |
Definition at line 68 of file video_stream.cpp.
int video_stream_opencv::VideoStreamNodelet::width_target [protected] |
Definition at line 77 of file video_stream.cpp.