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

Constructor & Destructor Documentation


parentThe parent entity, must be a Model or a Sensor

Definition at line 40 of file gazebo_ros_camera.cpp.


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.

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:

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