gazebo-yarp-plugins
Gazebo Plugins exposing YARP interfaces.
Loading...
Searching...
No Matches
gazebo::MultiCameraPlugin Class Reference

#include <MultiCameraPlugin.hh>

Inheritance diagram for gazebo::MultiCameraPlugin:
Collaboration diagram for gazebo::MultiCameraPlugin:

Public Member Functions

 MultiCameraPlugin ()
 
virtual ~MultiCameraPlugin ()
 Destructor.
 
virtual void Load (sensors::SensorPtr _sensor, sdf::ElementPtr _sdf)
 
virtual void OnNewFrameLeft (const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)
 
virtual void OnNewFrameRight (const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)
 

Protected Attributes

sensors::MultiCameraSensorPtr parentSensor
 
std::vector< unsigned int > width
 
std::vector< unsigned int > height
 
std::vector< unsigned int > depth
 
std::vector< std::string > format
 
std::vector< rendering::CameraPtr > camera
 

Constructor & Destructor Documentation

◆ MultiCameraPlugin()

MultiCameraPlugin::MultiCameraPlugin ( )

◆ ~MultiCameraPlugin()

MultiCameraPlugin::~MultiCameraPlugin ( )
virtual

Destructor.

Member Function Documentation

◆ Load()

void MultiCameraPlugin::Load ( sensors::SensorPtr _sensor,
sdf::ElementPtr _sdf )
virtual

Reimplemented in gazebo::GazeboYarpMultiCamera.

◆ OnNewFrameLeft()

void MultiCameraPlugin::OnNewFrameLeft ( const unsigned char * _image,
unsigned int _width,
unsigned int _height,
unsigned int _depth,
const std::string & _format )
virtual

◆ OnNewFrameRight()

void MultiCameraPlugin::OnNewFrameRight ( const unsigned char * _image,
unsigned int _width,
unsigned int _height,
unsigned int _depth,
const std::string & _format )
virtual

Member Data Documentation

◆ parentSensor

sensors::MultiCameraSensorPtr gazebo::MultiCameraPlugin::parentSensor
protected

◆ width

std::vector<unsigned int> gazebo::MultiCameraPlugin::width
protected

◆ height

std::vector<unsigned int> gazebo::MultiCameraPlugin::height
protected

◆ depth

std::vector<unsigned int> gazebo::MultiCameraPlugin::depth
protected

◆ format

std::vector<std::string> gazebo::MultiCameraPlugin::format
protected

◆ camera

std::vector<rendering::CameraPtr> gazebo::MultiCameraPlugin::camera
protected

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