#include <gazebo_ros_thermal_camera.h>
Public Member Functions | |
GazeboRosThermalCamera_ () | |
Constructor. | |
void | Load (sensors::SensorPtr _parent, sdf::ElementPtr _sdf) |
Load the plugin. | |
template<> | |
void | LoadImpl (sensors::SensorPtr _parent, sdf::ElementPtr _sdf) |
template<> | |
void | LoadImpl (sensors::SensorPtr _parent, sdf::ElementPtr _sdf) |
void | LoadImpl (sensors::SensorPtr _parent, sdf::ElementPtr _sdf) |
~GazeboRosThermalCamera_ () | |
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. | |
virtual void | OnNewImageFrame (const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format) |
Update the controller. | |
void | PutCameraData (const unsigned char *_src) |
Put camera data to the ROS topic. | |
void | PutCameraData (const unsigned char *_src, common::Time &last_update_time) |
Definition at line 62 of file gazebo_ros_thermal_camera.h.
gazebo::GazeboRosThermalCamera_< Base >::GazeboRosThermalCamera_ | ( | ) |
Constructor.
parent | The parent entity, must be a Model or a Sensor |
Definition at line 67 of file gazebo_ros_thermal_camera.cpp.
gazebo::GazeboRosThermalCamera_< Base >::~GazeboRosThermalCamera_ | ( | ) |
Destructor.
Definition at line 74 of file gazebo_ros_thermal_camera.cpp.
void gazebo::GazeboRosThermalCamera_< Base >::Load | ( | sensors::SensorPtr | _parent, |
sdf::ElementPtr | _sdf | ||
) | [virtual] |
Load the plugin.
take | in SDF root element |
Reimplemented from gazebo::GazeboRosCameraUtils.
Definition at line 79 of file gazebo_ros_thermal_camera.cpp.
void gazebo::GazeboRosThermalCamera_< DepthCameraPlugin >::LoadImpl | ( | sensors::SensorPtr | _parent, |
sdf::ElementPtr | _sdf | ||
) |
Definition at line 38 of file gazebo_ros_thermal_depth_camera_plugin.cpp.
void gazebo::GazeboRosThermalCamera_< CameraPlugin >::LoadImpl | ( | sensors::SensorPtr | _parent, |
sdf::ElementPtr | _sdf | ||
) |
Definition at line 38 of file gazebo_ros_thermal_camera_plugin.cpp.
void gazebo::GazeboRosThermalCamera_< Base >::LoadImpl | ( | sensors::SensorPtr | _parent, |
sdf::ElementPtr | _sdf | ||
) | [inline] |
Definition at line 74 of file gazebo_ros_thermal_camera.h.
void gazebo::GazeboRosThermalCamera_< Base >::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 95 of file gazebo_ros_thermal_camera.cpp.
void gazebo::GazeboRosThermalCamera_< Base >::OnNewImageFrame | ( | 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 130 of file gazebo_ros_thermal_camera.cpp.
void gazebo::GazeboRosThermalCamera_< Base >::PutCameraData | ( | const unsigned char * | _src | ) | [protected] |
Put camera data to the ROS topic.
don't bother if there are no subscribers
Reimplemented from gazebo::GazeboRosCameraUtils.
Definition at line 147 of file gazebo_ros_thermal_camera.cpp.
void gazebo::GazeboRosThermalCamera_< Base >::PutCameraData | ( | const unsigned char * | _src, |
common::Time & | last_update_time | ||
) | [protected] |
Reimplemented from gazebo::GazeboRosCameraUtils.
Definition at line 140 of file gazebo_ros_thermal_camera.cpp.