Public Member Functions | Protected Attributes | Private Attributes
gazebo::GazeboLidarPlugin Class Reference

A Gazebo LIDAR plugin. More...

#include <gazebo_lidar_plugin.h>

List of all members.

Public Member Functions

 GazeboLidarPlugin ()
 Constructor.
void Load (sensors::SensorPtr _parent, sdf::ElementPtr _sdf)
 Load the plugin.
virtual void OnNewLaserScans ()
 Update callback.
virtual ~GazeboLidarPlugin ()
 Destructor.

Protected Attributes

physics::WorldPtr world
 Pointer to parent.

Private Attributes

lidar_msgs::msgs::lidar lidar_message
transport::PublisherPtr lidar_pub_
std::string namespace_
event::ConnectionPtr newLaserScansConnection
 The connection tied to RayPlugin::OnNewLaserScans()
transport::NodePtr node_handle_
sensors::RaySensorPtr parentSensor
 The parent sensor.

Detailed Description

A Gazebo LIDAR plugin.

Definition at line 35 of file gazebo_lidar_plugin.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 48 of file gazebo_lidar_plugin.cpp.

Destructor.

Definition at line 53 of file gazebo_lidar_plugin.cpp.


Member Function Documentation

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

Load the plugin.

Parameters:
takein SDF root element

Definition at line 62 of file gazebo_lidar_plugin.cpp.

Update callback.

Definition at line 98 of file gazebo_lidar_plugin.cpp.


Member Data Documentation

lidar_msgs::msgs::lidar gazebo::GazeboLidarPlugin::lidar_message [private]

Definition at line 64 of file gazebo_lidar_plugin.h.

transport::PublisherPtr gazebo::GazeboLidarPlugin::lidar_pub_ [private]

Definition at line 57 of file gazebo_lidar_plugin.h.

Definition at line 58 of file gazebo_lidar_plugin.h.

The connection tied to RayPlugin::OnNewLaserScans()

Definition at line 63 of file gazebo_lidar_plugin.h.

transport::NodePtr gazebo::GazeboLidarPlugin::node_handle_ [private]

Definition at line 56 of file gazebo_lidar_plugin.h.

sensors::RaySensorPtr gazebo::GazeboLidarPlugin::parentSensor [private]

The parent sensor.

Definition at line 55 of file gazebo_lidar_plugin.h.

physics::WorldPtr gazebo::GazeboLidarPlugin::world [protected]

Pointer to parent.

Definition at line 51 of file gazebo_lidar_plugin.h.


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


rotors_gazebo_plugins
Author(s): Fadri Furrer, Michael Burri, Mina Kamel, Janosch Nikolic, Markus Achtelik
autogenerated on Thu Apr 18 2019 02:43:43