Public Member Functions | Protected Member Functions
gazebo::GazeboRosCamera Class Reference

#include <gazebo_ros_camera.h>

Inheritance diagram for gazebo::GazeboRosCamera:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GazeboRosCamera ()
 Constructor.
void Load (sensors::SensorPtr _parent, sdf::ElementPtr _sdf)
 Load the plugin.
 ~GazeboRosCamera ()
 Destructor.

Protected Member Functions

virtual void OnNewFrame (const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)
 Update the controller.

Detailed Description

Definition at line 37 of file gazebo_ros_camera.h.


Constructor & Destructor Documentation

Constructor.

Parameters:
parentThe parent entity, must be a Model or a Sensor

Definition at line 42 of file gazebo_ros_camera.cpp.

Destructor.

Definition at line 48 of file gazebo_ros_camera.cpp.


Member Function Documentation

void gazebo::GazeboRosCamera::Load ( sensors::SensorPtr  _parent,
sdf::ElementPtr  _sdf 
) [virtual]

Load the plugin.

Parameters:
takein SDF root element

Reimplemented from gazebo::GazeboRosCameraUtils.

Definition at line 52 of file gazebo_ros_camera.cpp.

void gazebo::GazeboRosCamera::OnNewFrame ( const unsigned char *  _image,
unsigned int  _width,
unsigned int  _height,
unsigned int  _depth,
const std::string &  _format 
) [protected, virtual]

Update the controller.

Definition at line 67 of file gazebo_ros_camera.cpp.


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


gazebo_plugins
Author(s): Sachin Chitta, Stu Glaser, John Hsu
autogenerated on Mon Oct 6 2014 12:15:44