Class MultiCameraPlugin

Inheritance Relationships

Base Type

  • public gazebo::SensorPlugin

Derived Type

Class Documentation

class MultiCameraPlugin : public gazebo::SensorPlugin

Subclassed by gazebo_plugins::GazeboRosCamera

Public Functions

MultiCameraPlugin()

Constructor.

virtual ~MultiCameraPlugin()

Destructor.

Protected Functions

virtual void Load(gazebo::sensors::SensorPtr _sensor, sdf::ElementPtr _sdf)
virtual void OnNewMultiFrame(const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format, const int _camera_num)

Callback when multi camera produces a new image.

Protected Attributes

gazebo::sensors::MultiCameraSensorPtr parent_sensor_
std::vector<unsigned int> width_
std::vector<unsigned int> height_
std::vector<unsigned int> depth_
std::vector<std::string> format_
std::vector<gazebo::rendering::CameraPtr> camera_