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

A Bumper controller. More...

#include <im_gazebo_ros_bumper.h>

List of all members.

Public Member Functions

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

Private Member Functions

void ContactQueueThread ()
void OnContact ()
 Update the controller.

Private Attributes

std::string bumper_topic_name_
 set topic name of broadcast
boost::thread callback_queue_thread_
ros::Publisher contact_pub_
ros::CallbackQueue contact_queue_
gazebo_msgs::ContactsState contact_state_msg_
 broadcast some string for now.
std::string frame_name_
sensors::ContactSensorPtr parentSensor
std::string robot_namespace_
 for setting ROS name space
 pointer to ros node
event::ConnectionPtr update_connection_

Detailed Description

A Bumper controller.

Definition at line 51 of file im_gazebo_ros_bumper.h.

Constructor & Destructor Documentation


Definition at line 50 of file im_gazebo_ros_bumper.cpp.


Definition at line 56 of file im_gazebo_ros_bumper.cpp.

Member Function Documentation

Definition at line 319 of file im_gazebo_ros_bumper.cpp.

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

Load the plugin.

takein SDF root element

Definition at line 66 of file im_gazebo_ros_bumper.cpp.

Update the controller.

: need a time for each Contact in i-loop, they may differ


Definition at line 131 of file im_gazebo_ros_bumper.cpp.

Member Data Documentation

set topic name of broadcast

Definition at line 73 of file im_gazebo_ros_bumper.h.

Definition at line 85 of file im_gazebo_ros_bumper.h.

Definition at line 68 of file im_gazebo_ros_bumper.h.

Definition at line 83 of file im_gazebo_ros_bumper.h.

gazebo_msgs::ContactsState gazebo::GazeboRosBumper::contact_state_msg_ [private]

broadcast some string for now.

Definition at line 78 of file im_gazebo_ros_bumper.h.

Definition at line 75 of file im_gazebo_ros_bumper.h.

sensors::ContactSensorPtr gazebo::GazeboRosBumper::parentSensor [private]

Definition at line 70 of file im_gazebo_ros_bumper.h.

for setting ROS name space

Definition at line 81 of file im_gazebo_ros_bumper.h.

pointer to ros node

Definition at line 67 of file im_gazebo_ros_bumper.h.

Definition at line 88 of file im_gazebo_ros_bumper.h.

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

Author(s): Mehmet Akcakoca
autogenerated on Thu Jun 6 2019 18:18:10