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

A Bumper controller. More...

#include <reem_bumper_gazebo.h>

List of all members.

Public Member Functions

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

Protected Member Functions

virtual void Update ()
 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_
gazebo::physics::WorldPtr parent_
std::string robot_namespace_
 for setting ROS name space
ros::NodeHandlerosnode_
 pointer to ros node
gazebo::sensors::ContactSensorPtr sensor_
event::ConnectionPtr update_connection_

Detailed Description

A Bumper controller.

Definition at line 49 of file reem_bumper_gazebo.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 42 of file reem_bumper_gazebo.cpp.

Destructor.

Definition at line 47 of file reem_bumper_gazebo.cpp.


Member Function Documentation

Definition at line 131 of file reem_bumper_gazebo.cpp.

Definition at line 136 of file reem_bumper_gazebo.cpp.

Definition at line 297 of file reem_bumper_gazebo.cpp.

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

Load the plugin.

Parameters:
takein SDF root element

Definition at line 55 of file reem_bumper_gazebo.cpp.

void gazebo::ReemGazeboBumper::Update ( ) [protected, virtual]

Update the controller.

Definition at line 141 of file reem_bumper_gazebo.cpp.


Member Data Documentation

set topic name of broadcast

Definition at line 71 of file reem_bumper_gazebo.h.

Definition at line 89 of file reem_bumper_gazebo.h.

Keep track of number of connctions.

Definition at line 84 of file reem_bumper_gazebo.h.

Definition at line 68 of file reem_bumper_gazebo.h.

Definition at line 87 of file reem_bumper_gazebo.h.

broadcast some string for now.

Definition at line 78 of file reem_bumper_gazebo.h.

Definition at line 72 of file reem_bumper_gazebo.h.

gazebo::physics::WorldPtr gazebo::ReemGazeboBumper::parent_ [private]

Definition at line 75 of file reem_bumper_gazebo.h.

for setting ROS name space

Definition at line 81 of file reem_bumper_gazebo.h.

pointer to ros node

Definition at line 67 of file reem_bumper_gazebo.h.

gazebo::sensors::ContactSensorPtr gazebo::ReemGazeboBumper::sensor_ [private]

Definition at line 74 of file reem_bumper_gazebo.h.

Definition at line 92 of file reem_bumper_gazebo.h.


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


bumper_gazebo_plugin
Author(s): Jose Rafael Capriles
autogenerated on Thu Jan 2 2014 11:37:02