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

#include <gazebo_ros_camera.h>

Inheritance diagram for gazebo::GazeboRosCamera:
Inheritance graph

List of all members.

Public Member Functions

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

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


parentThe parent entity, must be a Model or a Sensor

Definition at line 42 of file gazebo_ros_camera.cpp.


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.

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:

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