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

A Bumper controller. More...

#include <gazebo_ros_bumper.h>

List of all members.

Public Member Functions

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

Protected Member Functions

virtual void UpdateChild ()
 Update the controller.

Private Member Functions

void ContactConnect ()
void ContactDisconnect ()
void ContactQueueThread ()

Private Attributes

std::string bumper_topic_name_
 set topic name of broadcast
boost::thread callback_queue_thread_
int contact_connect_count_
 Keep track of number of connctions.
ros::Publisher contact_pub_
ros::CallbackQueue contact_queue_
gazebo_msgs::ContactsState contact_state_msg_
 broadcast some string for now.
std::string frame_name_
std::string robot_namespace_
 for setting ROS name space
ros::NodeHandlerosnode_
 pointer to ros node
event::ConnectionPtr update_connection_

Detailed Description

A Bumper controller.

Definition at line 55 of file gazebo_ros_bumper.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 48 of file gazebo_ros_bumper.cpp.

Destructor.

Definition at line 56 of file gazebo_ros_bumper.cpp.


Member Function Documentation

Definition at line 127 of file gazebo_ros_bumper.cpp.

Definition at line 133 of file gazebo_ros_bumper.cpp.

Definition at line 323 of file gazebo_ros_bumper.cpp.

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

Load the plugin.

Parameters:
takein SDF root element

Definition at line 66 of file gazebo_ros_bumper.cpp.

void gazebo::GazeboRosBumper::UpdateChild ( ) [protected, virtual]

Update the controller.

Definition at line 140 of file gazebo_ros_bumper.cpp.


Member Data Documentation

set topic name of broadcast

Definition at line 76 of file gazebo_ros_bumper.h.

Definition at line 93 of file gazebo_ros_bumper.h.

Keep track of number of connctions.

Definition at line 87 of file gazebo_ros_bumper.h.

Definition at line 73 of file gazebo_ros_bumper.h.

Definition at line 91 of file gazebo_ros_bumper.h.

broadcast some string for now.

Definition at line 81 of file gazebo_ros_bumper.h.

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

Definition at line 78 of file gazebo_ros_bumper.h.

for setting ROS name space

Definition at line 84 of file gazebo_ros_bumper.h.

pointer to ros node

Definition at line 72 of file gazebo_ros_bumper.h.

Definition at line 96 of file gazebo_ros_bumper.h.


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


gazebo_plugins
Author(s): Sachin Chitta, Stu Glaser, John Hsu
autogenerated on Sun Jan 5 2014 11:34:58