#include <gazebo_ros_triggered_multicamera.h>

Public Member Functions | |
| GazeboRosTriggeredMultiCamera () | |
| Constructor. More... | |
| void | Load (sensors::SensorPtr _parent, sdf::ElementPtr _sdf) |
| Load the plugin. More... | |
| ~GazeboRosTriggeredMultiCamera () | |
| Destructor. More... | |
Public Member Functions inherited from gazebo::MultiCameraPlugin | |
| MultiCameraPlugin () | |
| virtual | ~MultiCameraPlugin () |
| Destructor. More... | |
Public Attributes | |
| std::vector< GazeboRosTriggeredCamera * > | triggered_cameras |
Protected Member Functions | |
| virtual void | OnNewFrameLeft (const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format) |
| Update the controller FIXME: switch to function vectors. More... | |
| virtual void | OnNewFrameRight (const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format) |
| void | PreRender () |
| void | SetCameraEnabled (const bool _enabled) |
Protected Attributes | |
| event::ConnectionPtr | preRenderConnection_ |
Protected Attributes inherited from gazebo::MultiCameraPlugin | |
| std::vector< rendering::CameraPtr > | camera |
| std::vector< unsigned int > | depth |
| std::vector< std::string > | format |
| std::vector< unsigned int > | height |
| sensors::MultiCameraSensorPtr | parentSensor |
| std::vector< unsigned int > | width |
Private Attributes | |
| boost::shared_ptr< int > | image_connect_count_ |
| boost::shared_ptr< boost::mutex > | image_connect_count_lock_ |
| boost::shared_ptr< bool > | was_active_ |
Definition at line 30 of file gazebo_ros_triggered_multicamera.h.
| gazebo::GazeboRosTriggeredMultiCamera::GazeboRosTriggeredMultiCamera | ( | ) |
Constructor.
| parent | The parent entity, must be a Model or a Sensor |
Definition at line 33 of file gazebo_ros_triggered_multicamera.cpp.
| gazebo::GazeboRosTriggeredMultiCamera::~GazeboRosTriggeredMultiCamera | ( | ) |
Destructor.
Definition at line 39 of file gazebo_ros_triggered_multicamera.cpp.
|
virtual |
Load the plugin.
| take | in SDF root element |
Reimplemented from gazebo::MultiCameraPlugin.
Definition at line 43 of file gazebo_ros_triggered_multicamera.cpp.
|
protectedvirtual |
Update the controller FIXME: switch to function vectors.
Reimplemented from gazebo::MultiCameraPlugin.
Definition at line 93 of file gazebo_ros_triggered_multicamera.cpp.
|
protectedvirtual |
Reimplemented from gazebo::MultiCameraPlugin.
Definition at line 103 of file gazebo_ros_triggered_multicamera.cpp.
|
protected |
|
protected |
|
private |
Bookkeeping flags that will be passed into the underlying GazeboRosCameraUtils objects to let them share state about the parent sensor.
Definition at line 57 of file gazebo_ros_triggered_multicamera.h.
|
private |
Definition at line 58 of file gazebo_ros_triggered_multicamera.h.
|
protected |
Definition at line 61 of file gazebo_ros_triggered_multicamera.h.
| std::vector<GazeboRosTriggeredCamera *> gazebo::GazeboRosTriggeredMultiCamera::triggered_cameras |
Definition at line 43 of file gazebo_ros_triggered_multicamera.h.
|
private |
Definition at line 59 of file gazebo_ros_triggered_multicamera.h.