Class GazeboRosVideo

Inheritance Relationships

Base Type

  • public gazebo::VisualPlugin

Class Documentation

class GazeboRosVideo : public gazebo::VisualPlugin

Video plugin for displaying ROS image topics on Ogre textures.

Example Usage:

<plugin name="gazebo_ros_video" filename="libgazebo_ros_video.so">
  <!-- Images are subscribed from: /custom_ns/custom_img -->
  <ros>
    <!-- Add a namespace -->
    <namespace>/custom_ns</namespace>
    <!-- remap image subscribe topic -->
    <remapping>~/image_raw:=custom_img</remapping>
  </ros>

  <!-- Dimensions of image -->
  <height>240</height>
  <weight>320</weight>

</plugin>

Public Functions

GazeboRosVideo()

Constructor.

virtual ~GazeboRosVideo()

Destructor.

Protected Functions

void Load(gazebo::rendering::VisualPtr _parent, sdf::ElementPtr _sdf) override