#include <gazebo_ros_video.h>
Public Member Functions | |
GazeboRosVideo () | |
void | Load (rendering::VisualPtr parent, sdf::ElementPtr sdf) |
void | processImage (const sensor_msgs::ImageConstPtr &msg) |
virtual | ~GazeboRosVideo () |
Protected Member Functions | |
void | QueueThread () |
virtual void | UpdateChild () |
Protected Attributes | |
boost::thread | callback_queue_thread_ |
ros::Subscriber | camera_subscriber_ |
cv_bridge::CvImagePtr | image_ |
boost::mutex | m_image_ |
rendering::VisualPtr | model_ |
bool | new_image_available_ |
ros::CallbackQueue | queue_ |
std::string | robot_namespace_ |
boost::shared_ptr < ros::NodeHandle > | rosnode_ |
std::string | topic_name_ |
event::ConnectionPtr | update_connection_ |
boost::shared_ptr< VideoVisual > | video_visual_ |
Definition at line 59 of file gazebo_ros_video.h.
Definition at line 114 of file gazebo_ros_video.cpp.
gazebo::GazeboRosVideo::~GazeboRosVideo | ( | ) | [virtual] |
Definition at line 117 of file gazebo_ros_video.cpp.
void gazebo::GazeboRosVideo::Load | ( | rendering::VisualPtr | parent, |
sdf::ElementPtr | sdf | ||
) |
Definition at line 120 of file gazebo_ros_video.cpp.
void gazebo::GazeboRosVideo::processImage | ( | const sensor_msgs::ImageConstPtr & | msg | ) |
Definition at line 215 of file gazebo_ros_video.cpp.
void gazebo::GazeboRosVideo::QueueThread | ( | ) | [protected] |
Definition at line 224 of file gazebo_ros_video.cpp.
void gazebo::GazeboRosVideo::UpdateChild | ( | ) | [protected, virtual] |
Definition at line 205 of file gazebo_ros_video.cpp.
boost::thread gazebo::GazeboRosVideo::callback_queue_thread_ [protected] |
Definition at line 91 of file gazebo_ros_video.h.
Definition at line 86 of file gazebo_ros_video.h.
cv_bridge::CvImagePtr gazebo::GazeboRosVideo::image_ [protected] |
Definition at line 80 of file gazebo_ros_video.h.
boost::mutex gazebo::GazeboRosVideo::m_image_ [protected] |
Definition at line 81 of file gazebo_ros_video.h.
rendering::VisualPtr gazebo::GazeboRosVideo::model_ [protected] |
Definition at line 74 of file gazebo_ros_video.h.
bool gazebo::GazeboRosVideo::new_image_available_ [protected] |
Definition at line 82 of file gazebo_ros_video.h.
ros::CallbackQueue gazebo::GazeboRosVideo::queue_ [protected] |
Definition at line 90 of file gazebo_ros_video.h.
std::string gazebo::GazeboRosVideo::robot_namespace_ [protected] |
Definition at line 87 of file gazebo_ros_video.h.
boost::shared_ptr<ros::NodeHandle> gazebo::GazeboRosVideo::rosnode_ [protected] |
Definition at line 85 of file gazebo_ros_video.h.
std::string gazebo::GazeboRosVideo::topic_name_ [protected] |
Definition at line 88 of file gazebo_ros_video.h.
Definition at line 76 of file gazebo_ros_video.h.
boost::shared_ptr<VideoVisual> gazebo::GazeboRosVideo::video_visual_ [protected] |
Definition at line 78 of file gazebo_ros_video.h.