Public Member Functions | Protected Attributes | Private Attributes | List of all members
gazebo::GazeboLidarPlugin Class Reference

A Gazebo LIDAR plugin. More...

#include <gazebo_lidar_plugin.h>

Inheritance diagram for gazebo::GazeboLidarPlugin:
Inheritance graph
[legend]

Public Member Functions

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

Protected Attributes

physics::WorldPtr world
 Pointer to parent. More...
 

Private Attributes

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

Detailed Description

A Gazebo LIDAR plugin.

Definition at line 35 of file gazebo_lidar_plugin.h.

Constructor & Destructor Documentation

◆ GazeboLidarPlugin()

GazeboLidarPlugin::GazeboLidarPlugin ( )

Constructor.

Definition at line 48 of file gazebo_lidar_plugin.cpp.

◆ ~GazeboLidarPlugin()

GazeboLidarPlugin::~GazeboLidarPlugin ( )
virtual

Destructor.

Definition at line 53 of file gazebo_lidar_plugin.cpp.

Member Function Documentation

◆ Load()

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.

◆ OnNewLaserScans()

void GazeboLidarPlugin::OnNewLaserScans ( )
virtual

Update callback.

Definition at line 98 of file gazebo_lidar_plugin.cpp.

Member Data Documentation

◆ lidar_message

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

Definition at line 64 of file gazebo_lidar_plugin.h.

◆ lidar_pub_

transport::PublisherPtr gazebo::GazeboLidarPlugin::lidar_pub_
private

Definition at line 57 of file gazebo_lidar_plugin.h.

◆ namespace_

std::string gazebo::GazeboLidarPlugin::namespace_
private

Definition at line 58 of file gazebo_lidar_plugin.h.

◆ newLaserScansConnection

event::ConnectionPtr gazebo::GazeboLidarPlugin::newLaserScansConnection
private

The connection tied to RayPlugin::OnNewLaserScans()

Definition at line 63 of file gazebo_lidar_plugin.h.

◆ node_handle_

transport::NodePtr gazebo::GazeboLidarPlugin::node_handle_
private

Definition at line 56 of file gazebo_lidar_plugin.h.

◆ parentSensor

sensors::RaySensorPtr gazebo::GazeboLidarPlugin::parentSensor
private

The parent sensor.

Definition at line 55 of file gazebo_lidar_plugin.h.

◆ world

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 Mon Feb 28 2022 23:39:04