#include <gazebo_ros_gpu_laser.h>
Public Member Functions | |
GazeboRosLaser () | |
Constructor. More... | |
GazeboRosLaser () | |
Constructor. More... | |
void | Load (sensors::SensorPtr _parent, sdf::ElementPtr _sdf) |
Load the plugin. More... | |
void | Load (sensors::SensorPtr _parent, sdf::ElementPtr _sdf) |
Load the plugin. More... | |
~GazeboRosLaser () | |
Destructor. More... | |
~GazeboRosLaser () | |
Destructor. More... | |
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 More... | |
gazebo::transport::NodePtr | gazebo_node_ |
GazeboRosPtr | gazebo_ros_ |
int | laser_connect_count_ |
Keep track of number of connctions. More... | |
gazebo::transport::SubscriberPtr | laser_scan_sub_ |
sensors::GpuRaySensorPtr | parent_ray_sensor_ |
The parent sensor. More... | |
sensors::RaySensorPtr | parent_ray_sensor_ |
The parent sensor. More... | |
PubMultiQueue | pmq |
prevents blocking More... | |
ros::Publisher | pub_ |
PubQueue< sensor_msgs::LaserScan >::Ptr | pub_queue_ |
std::string | robot_namespace_ |
for setting ROS name space More... | |
ros::NodeHandle * | rosnode_ |
pointer to ros node More... | |
sdf::ElementPtr | sdf |
unsigned int | seed |
std::string | tf_prefix_ |
tf prefix More... | |
std::string | topic_name_ |
topic name More... | |
physics::WorldPtr | world_ |
std::string | world_name_ |
Definition at line 45 of file gazebo_ros_gpu_laser.h.
gazebo::GazeboRosLaser::GazeboRosLaser | ( | ) |
Constructor.
Definition at line 51 of file gazebo_ros_gpu_laser.cpp.
gazebo::GazeboRosLaser::~GazeboRosLaser | ( | ) |
Destructor.
Definition at line 58 of file gazebo_ros_gpu_laser.cpp.
gazebo::GazeboRosLaser::GazeboRosLaser | ( | ) |
Constructor.
gazebo::GazeboRosLaser::~GazeboRosLaser | ( | ) |
Destructor.
|
private |
Definition at line 165 of file gazebo_ros_gpu_laser.cpp.
|
private |
|
private |
|
private |
Definition at line 176 of file gazebo_ros_gpu_laser.cpp.
void gazebo::GazeboRosLaser::Load | ( | sensors::SensorPtr | _parent, |
sdf::ElementPtr | _sdf | ||
) |
Load the plugin.
take | in 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.
take | in SDF root element |
|
private |
Definition at line 123 of file gazebo_ros_gpu_laser.cpp.
|
private |
|
private |
Definition at line 185 of file gazebo_ros_gpu_laser.cpp.
|
private |
|
private |
Definition at line 88 of file gazebo_ros_gpu_laser.h.
|
private |
frame transform name, should match link name
Definition at line 77 of file gazebo_ros_gpu_laser.h.
|
private |
Definition at line 91 of file gazebo_ros_gpu_laser.h.
|
private |
Definition at line 63 of file gazebo_ros_laser.h.
|
private |
Keep track of number of connctions.
Definition at line 58 of file gazebo_ros_gpu_laser.h.
|
private |
Definition at line 92 of file gazebo_ros_gpu_laser.h.
|
private |
The parent sensor.
Definition at line 66 of file gazebo_ros_gpu_laser.h.
|
private |
The parent sensor.
Definition at line 67 of file gazebo_ros_laser.h.
|
private |
prevents blocking
Definition at line 96 of file gazebo_ros_gpu_laser.h.
|
private |
Definition at line 70 of file gazebo_ros_gpu_laser.h.
|
private |
Definition at line 71 of file gazebo_ros_gpu_laser.h.
|
private |
for setting ROS name space
Definition at line 83 of file gazebo_ros_gpu_laser.h.
|
private |
pointer to ros node
Definition at line 69 of file gazebo_ros_gpu_laser.h.
|
private |
Definition at line 86 of file gazebo_ros_gpu_laser.h.
|
private |
Definition at line 89 of file gazebo_ros_gpu_laser.h.
|
private |
tf prefix
Definition at line 80 of file gazebo_ros_gpu_laser.h.
|
private |
topic name
Definition at line 74 of file gazebo_ros_gpu_laser.h.
|
private |
Definition at line 64 of file gazebo_ros_gpu_laser.h.
|
private |
Definition at line 63 of file gazebo_ros_gpu_laser.h.