Go to the documentation of this file.
17 #ifndef _GAZEBO_MULTI_CAMERA_PLUGIN_HH_
18 #define _GAZEBO_MULTI_CAMERA_PLUGIN_HH_
23 #include <gazebo/common/Plugin.hh>
24 #include <gazebo/sensors/MultiCameraSensor.hh>
25 #include <gazebo/rendering/Camera.hh>
26 #include <gazebo/gazebo.hh>
37 public:
virtual void Load(sensors::SensorPtr _sensor, sdf::ElementPtr _sdf);
40 unsigned int _width,
unsigned int _height,
41 unsigned int _depth,
const std::string &_format);
43 unsigned int _width,
unsigned int _height,
44 unsigned int _depth,
const std::string &_format);
49 protected: std::vector<std::string>
format;
51 protected: std::vector<rendering::CameraPtr>
camera;
virtual void Load(sensors::SensorPtr _sensor, sdf::ElementPtr _sdf)
virtual void OnNewFrameRight(const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)
std::vector< unsigned int > width
std::vector< unsigned int > depth
sensors::MultiCameraSensorPtr parentSensor
virtual ~MultiCameraPlugin()
Destructor.
std::vector< rendering::CameraPtr > camera
std::vector< std::string > format
std::vector< unsigned int > height
std::vector< event::ConnectionPtr > newFrameConnection
virtual void OnNewFrameLeft(const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)
gazebo_plugins
Author(s): John Hsu
autogenerated on Thu Sep 5 2024 02:49:55