#include <CameraPlugin.hh>
|
typedef boost::shared_ptr
< SensorPlugin > | TPtr |
| plugin pointer type definition More...
|
|
static TPtr | Create (const std::string &_filename, const std::string &_name) |
| a class method that creates a plugin from a file name. More...
|
|
gazebo::CameraPlugin::CameraPlugin |
( |
| ) |
|
virtual gazebo::CameraPlugin::~CameraPlugin |
( |
| ) |
|
|
virtual |
virtual void gazebo::CameraPlugin::Load |
( |
sensors::SensorPtr |
_sensor, |
|
|
sdf::ElementPtr |
_sdf |
|
) |
| |
|
virtual |
Load function.
Called when a Plugin is first created, and after the World has been loaded. This function should not be blocking.
- Parameters
-
[in] | _sensor | Pointer the Sensor. |
[in] | _sdf | Pointer the the SDF element of the plugin. |
Implements gazebo::SensorPlugin.
virtual void gazebo::CameraPlugin::OnNewFrame |
( |
const unsigned char * |
_image, |
|
|
unsigned int |
_width, |
|
|
unsigned int |
_height, |
|
|
unsigned int |
_depth, |
|
|
const std::string & |
_format |
|
) |
| |
|
virtual |
unsigned int gazebo::CameraPlugin::depth |
|
protected |
std::string gazebo::CameraPlugin::format |
|
protected |
unsigned int gazebo::CameraPlugin::height |
|
protected |
unsigned int gazebo::CameraPlugin::width |
|
protected |
The documentation for this class was generated from the following file: