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 34 of file gazebo_ros_camera.h.


Constructor & Destructor Documentation

Constructor.

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

Definition at line 40 of file gazebo_ros_camera.cpp.

Destructor.

Definition at line 46 of file gazebo_ros_camera.cpp.


Member Function Documentation

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

Load the plugin.

Parameters:
takein SDF root element

Definition at line 51 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 75 of file gazebo_ros_camera.cpp.


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


gazebo_plugins
Author(s): John Hsu
autogenerated on Thu Jun 6 2019 18:41:09