Public Member Functions | Private Member Functions | Private Attributes
gazebo::GazeboRosLaser Class Reference

#include <gazebo_ros_gpu_laser.h>

List of all members.

Public Member Functions

 GazeboRosLaser ()
 Constructor.
 GazeboRosLaser ()
 Constructor.
void Load (sensors::SensorPtr _parent, sdf::ElementPtr _sdf)
 Load the plugin.
void Load (sensors::SensorPtr _parent, sdf::ElementPtr _sdf)
 Load the plugin.
 ~GazeboRosLaser ()
 Destructor.
 ~GazeboRosLaser ()
 Destructor.

Private Member Functions

void LaserConnect ()
void LaserConnect ()
void LaserDisconnect ()
void LaserDisconnect ()
void LoadThread ()
void LoadThread ()
void OnScan (ConstLaserScanStampedPtr &_msg)
void OnScan (ConstLaserScanStampedPtr &_msg)

Private Attributes

boost::thread deferred_load_thread_
std::string frame_name_
 frame transform name, should match link name
gazebo::transport::NodePtr gazebo_node_
GazeboRosPtr gazebo_ros_
int laser_connect_count_
 Keep track of number of connctions.
gazebo::transport::SubscriberPtr laser_scan_sub_
sensors::GpuRaySensorPtr parent_ray_sensor_
 The parent sensor.
sensors::RaySensorPtr parent_ray_sensor_
 The parent sensor.
PubMultiQueue pmq
 prevents blocking
ros::Publisher pub_
PubQueue
< sensor_msgs::LaserScan >
::Ptr 
pub_queue_
std::string robot_namespace_
 for setting ROS name space
ros::NodeHandlerosnode_
 pointer to ros node
sdf::ElementPtr sdf
unsigned int seed
std::string tf_prefix_
 tf prefix
std::string topic_name_
 topic name
physics::WorldPtr world_
std::string world_name_

Detailed Description

Definition at line 45 of file gazebo_ros_gpu_laser.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 51 of file gazebo_ros_gpu_laser.cpp.

Destructor.

Definition at line 58 of file gazebo_ros_gpu_laser.cpp.

Constructor.

Destructor.


Member Function Documentation

Definition at line 164 of file gazebo_ros_gpu_laser.cpp.

Definition at line 175 of file gazebo_ros_gpu_laser.cpp.

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

Load the plugin.

Parameters:
takein SDF root element

Definition at line 68 of file gazebo_ros_gpu_laser.cpp.

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

Load the plugin.

Parameters:
takein SDF root element

Definition at line 122 of file gazebo_ros_gpu_laser.cpp.

void gazebo::GazeboRosLaser::OnScan ( ConstLaserScanStampedPtr &  _msg) [private]

Definition at line 184 of file gazebo_ros_gpu_laser.cpp.

void gazebo::GazeboRosLaser::OnScan ( ConstLaserScanStampedPtr &  _msg) [private]

Member Data Documentation

Definition at line 88 of file gazebo_ros_gpu_laser.h.

std::string gazebo::GazeboRosLaser::frame_name_ [private]

frame transform name, should match link name

Definition at line 77 of file gazebo_ros_gpu_laser.h.

gazebo::transport::NodePtr gazebo::GazeboRosLaser::gazebo_node_ [private]

Definition at line 91 of file gazebo_ros_gpu_laser.h.

Definition at line 63 of file gazebo_ros_laser.h.

Keep track of number of connctions.

Definition at line 58 of file gazebo_ros_gpu_laser.h.

gazebo::transport::SubscriberPtr gazebo::GazeboRosLaser::laser_scan_sub_ [private]

Definition at line 92 of file gazebo_ros_gpu_laser.h.

sensors::GpuRaySensorPtr gazebo::GazeboRosLaser::parent_ray_sensor_ [private]

The parent sensor.

Definition at line 66 of file gazebo_ros_gpu_laser.h.

sensors::RaySensorPtr gazebo::GazeboRosLaser::parent_ray_sensor_ [private]

The parent sensor.

Definition at line 67 of file gazebo_ros_laser.h.

prevents blocking

Definition at line 96 of file gazebo_ros_gpu_laser.h.

Definition at line 70 of file gazebo_ros_gpu_laser.h.

PubQueue< sensor_msgs::LaserScan >::Ptr gazebo::GazeboRosLaser::pub_queue_ [private]

Definition at line 71 of file gazebo_ros_gpu_laser.h.

for setting ROS name space

Definition at line 83 of file gazebo_ros_gpu_laser.h.

pointer to ros node

Definition at line 69 of file gazebo_ros_gpu_laser.h.

sdf::ElementPtr gazebo::GazeboRosLaser::sdf [private]

Definition at line 86 of file gazebo_ros_gpu_laser.h.

unsigned int gazebo::GazeboRosLaser::seed [private]

Definition at line 89 of file gazebo_ros_gpu_laser.h.

std::string gazebo::GazeboRosLaser::tf_prefix_ [private]

tf prefix

Definition at line 80 of file gazebo_ros_gpu_laser.h.

std::string gazebo::GazeboRosLaser::topic_name_ [private]

topic name

Definition at line 74 of file gazebo_ros_gpu_laser.h.

physics::WorldPtr gazebo::GazeboRosLaser::world_ [private]

Definition at line 64 of file gazebo_ros_gpu_laser.h.

std::string gazebo::GazeboRosLaser::world_name_ [private]

Definition at line 63 of file gazebo_ros_gpu_laser.h.


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


gazebo_plugins
Author(s): John Hsu
autogenerated on Fri Aug 28 2015 10:47:26