A Gazebo LIDAR plugin. More...
#include <gazebo_lidar_plugin.h>
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. |
A Gazebo LIDAR plugin.
Definition at line 35 of file gazebo_lidar_plugin.h.
Constructor.
Definition at line 48 of file gazebo_lidar_plugin.cpp.
GazeboLidarPlugin::~GazeboLidarPlugin | ( | ) | [virtual] |
Destructor.
Definition at line 53 of file gazebo_lidar_plugin.cpp.
void GazeboLidarPlugin::Load | ( | sensors::SensorPtr | _parent, |
sdf::ElementPtr | _sdf | ||
) |
Load the plugin.
take | in SDF root element |
Definition at line 62 of file gazebo_lidar_plugin.cpp.
void GazeboLidarPlugin::OnNewLaserScans | ( | ) | [virtual] |
Update callback.
Definition at line 98 of file gazebo_lidar_plugin.cpp.
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.