Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gazebo::GazeboRosVideo Class Reference

#include <gazebo_ros_video.h>

Inheritance diagram for gazebo::GazeboRosVideo:
Inheritance graph
[legend]

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_
 
ros::NodeHandlerosnode_
 A pointer to the ROS node. A node will be instantiated if it does not exist. More...
 
std::string topic_name_
 
event::ConnectionPtr update_connection_
 
boost::shared_ptr< VideoVisualvideo_visual_
 

Detailed Description

Definition at line 59 of file gazebo_ros_video.h.

Constructor & Destructor Documentation

◆ GazeboRosVideo()

gazebo::GazeboRosVideo::GazeboRosVideo ( )

Definition at line 117 of file gazebo_ros_video.cpp.

◆ ~GazeboRosVideo()

gazebo::GazeboRosVideo::~GazeboRosVideo ( )
virtual

Definition at line 120 of file gazebo_ros_video.cpp.

Member Function Documentation

◆ Load()

void gazebo::GazeboRosVideo::Load ( rendering::VisualPtr  parent,
sdf::ElementPtr  sdf 
)

Definition at line 133 of file gazebo_ros_video.cpp.

◆ processImage()

void gazebo::GazeboRosVideo::processImage ( const sensor_msgs::ImageConstPtr &  msg)

Definition at line 247 of file gazebo_ros_video.cpp.

◆ QueueThread()

void gazebo::GazeboRosVideo::QueueThread ( )
protected

Definition at line 256 of file gazebo_ros_video.cpp.

◆ UpdateChild()

void gazebo::GazeboRosVideo::UpdateChild ( )
protectedvirtual

Definition at line 228 of file gazebo_ros_video.cpp.

Member Data Documentation

◆ callback_queue_thread_

boost::thread gazebo::GazeboRosVideo::callback_queue_thread_
protected

Definition at line 93 of file gazebo_ros_video.h.

◆ camera_subscriber_

ros::Subscriber gazebo::GazeboRosVideo::camera_subscriber_
protected

Definition at line 88 of file gazebo_ros_video.h.

◆ image_

cv_bridge::CvImagePtr gazebo::GazeboRosVideo::image_
protected

Definition at line 80 of file gazebo_ros_video.h.

◆ m_image_

boost::mutex gazebo::GazeboRosVideo::m_image_
protected

Definition at line 81 of file gazebo_ros_video.h.

◆ model_

rendering::VisualPtr gazebo::GazeboRosVideo::model_
protected

Definition at line 74 of file gazebo_ros_video.h.

◆ new_image_available_

bool gazebo::GazeboRosVideo::new_image_available_
protected

Definition at line 82 of file gazebo_ros_video.h.

◆ queue_

ros::CallbackQueue gazebo::GazeboRosVideo::queue_
protected

Definition at line 92 of file gazebo_ros_video.h.

◆ robot_namespace_

std::string gazebo::GazeboRosVideo::robot_namespace_
protected

Definition at line 89 of file gazebo_ros_video.h.

◆ rosnode_

ros::NodeHandle* gazebo::GazeboRosVideo::rosnode_
protected

A pointer to the ROS node. A node will be instantiated if it does not exist.

Definition at line 85 of file gazebo_ros_video.h.

◆ topic_name_

std::string gazebo::GazeboRosVideo::topic_name_
protected

Definition at line 90 of file gazebo_ros_video.h.

◆ update_connection_

event::ConnectionPtr gazebo::GazeboRosVideo::update_connection_
protected

Definition at line 76 of file gazebo_ros_video.h.

◆ video_visual_

boost::shared_ptr<VideoVisual> gazebo::GazeboRosVideo::video_visual_
protected

Definition at line 78 of file gazebo_ros_video.h.


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


gazebo_plugins
Author(s): John Hsu
autogenerated on Thu Nov 23 2023 03:50:28