#include <gazebo_ros_video.h>
Public Member Functions | |
GazeboRosVideo () | |
Constructor. | |
void | Load (rendering::VisualPtr _parent, sdf::ElementPtr _sdf) |
Load the controller. | |
void | processImage (const sensor_msgs::ImageConstPtr &msg) |
virtual | ~GazeboRosVideo () |
Destructor. | |
Protected Member Functions | |
void | QueueThread () |
virtual void | UpdateChild () |
Update the controller. | |
Protected Attributes | |
boost::thread | callback_queue_thread_ |
image_transport::Subscriber | camera_subscriber_ |
int | height |
cv_bridge::CvImagePtr | image_ |
boost::shared_ptr < image_transport::ImageTransport > | it_ |
boost::mutex | m_image_ |
rendering::VisualPtr | model |
std::string | modelNamespace |
bool | new_image_available_ |
boost::shared_ptr < ros::NodeHandle > | rosnode_ |
std::string | topicName |
event::ConnectionPtr | updateConnection |
boost::shared_ptr< VideoVisual > | video_visual_ |
int | width |
Definition at line 151 of file gazebo_ros_video.h.
Constructor.
Definition at line 34 of file gazebo_ros_video.cc.
gazebo::GazeboRosVideo::~GazeboRosVideo | ( | ) | [virtual] |
Destructor.
Definition at line 37 of file gazebo_ros_video.cc.
void gazebo::GazeboRosVideo::Load | ( | rendering::VisualPtr | _parent, |
sdf::ElementPtr | _sdf | ||
) |
Load the controller.
Definition at line 40 of file gazebo_ros_video.cc.
void gazebo::GazeboRosVideo::processImage | ( | const sensor_msgs::ImageConstPtr & | msg | ) |
Definition at line 126 of file gazebo_ros_video.cc.
void gazebo::GazeboRosVideo::QueueThread | ( | ) | [protected] |
Definition at line 133 of file gazebo_ros_video.cc.
void gazebo::GazeboRosVideo::UpdateChild | ( | ) | [protected, virtual] |
Update the controller.
Definition at line 118 of file gazebo_ros_video.cc.
boost::thread gazebo::GazeboRosVideo::callback_queue_thread_ [protected] |
Definition at line 191 of file gazebo_ros_video.h.
Definition at line 184 of file gazebo_ros_video.h.
int gazebo::GazeboRosVideo::height [protected] |
Definition at line 185 of file gazebo_ros_video.h.
cv_bridge::CvImagePtr gazebo::GazeboRosVideo::image_ [protected] |
Definition at line 177 of file gazebo_ros_video.h.
boost::shared_ptr<image_transport::ImageTransport> gazebo::GazeboRosVideo::it_ [protected] |
Definition at line 183 of file gazebo_ros_video.h.
boost::mutex gazebo::GazeboRosVideo::m_image_ [protected] |
Definition at line 178 of file gazebo_ros_video.h.
rendering::VisualPtr gazebo::GazeboRosVideo::model [protected] |
Definition at line 171 of file gazebo_ros_video.h.
std::string gazebo::GazeboRosVideo::modelNamespace [protected] |
Definition at line 187 of file gazebo_ros_video.h.
bool gazebo::GazeboRosVideo::new_image_available_ [protected] |
Definition at line 179 of file gazebo_ros_video.h.
boost::shared_ptr<ros::NodeHandle> gazebo::GazeboRosVideo::rosnode_ [protected] |
Definition at line 182 of file gazebo_ros_video.h.
std::string gazebo::GazeboRosVideo::topicName [protected] |
Definition at line 188 of file gazebo_ros_video.h.
Definition at line 173 of file gazebo_ros_video.h.
boost::shared_ptr<VideoVisual> gazebo::GazeboRosVideo::video_visual_ [protected] |
Definition at line 175 of file gazebo_ros_video.h.
int gazebo::GazeboRosVideo::width [protected] |
Definition at line 186 of file gazebo_ros_video.h.