|
gazebo-yarp-plugins
Gazebo Plugins exposing YARP interfaces.
|
Gazebo Plugin reading from the Gazebo MultiCamera plugin. More...
#include <MultiCamera.hh>
Public Member Functions | |
| GazeboYarpMultiCamera () | |
| virtual | ~GazeboYarpMultiCamera () |
| 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 |
Gazebo Plugin reading from the Gazebo MultiCamera plugin.
This plugin instantiate a yarp camera driver for the Gazebo simulator and instantiate a network wrapper (provided by yarp::dev::ServerFrameGrabbers) to expose the sensor on the yarp network.
It can be configurated using the yarpConfigurationFile sdf tag, that contains a Gazebo URI pointing at a yarp .ini configuration file
The parameter that the yarpConfigurationFile must contain are:
| name | Port name to assign to the wrapper to this device. |
| period | Update period (in s) of yarp port that publish the measure. |
If the required parameters are not specified, their value will be the default one assigned by the yarp::dev::ServerFrameGrabbers wrapper.
| gazebo::GazeboYarpMultiCamera::GazeboYarpMultiCamera | ( | ) |
|
virtual |
|
virtual |
Reimplemented from gazebo::MultiCameraPlugin.
|
virtualinherited |
|
virtualinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |