$search

gazebo::GazeboRosBumper Class Reference
[Ros Bumper Plugin]

A Bumper controller. More...

#include <gazebo_ros_bumper.h>

List of all members.

Public Member Functions

 GazeboRosBumper (Entity *parent)
 Constructor.
virtual ~GazeboRosBumper ()
 Destructor.

Protected Member Functions

virtual void FiniChild ()
 Finalize the controller.
virtual void InitChild ()
 Init the controller.
virtual void LoadChild (XMLConfigNode *node)
virtual void UpdateChild ()
 Update the controller.

Private Member Functions

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

Private Attributes

std::string bumperTopicName
ParamT< std::string > * bumperTopicNameP
 set topic name of broadcast
boost::thread callback_queue_thread_
ros::Publisher contact_pub_
ros::CallbackQueue contact_queue_
int contactConnectCount
 Keep track of number of connctions.
gazebo_msgs::ContactsState contactsStateMsg
 broadcast some string for now.
std::string frameName
ParamT< std::string > * frameNameP
boost::mutex lock
 A mutex to lock access to fields that are used in message callbacks.
Body * myFrame
 Return information in this body (link) coordinate if unavailable, use "/map" and global gazebo world frame.
ContactSensor * myParent
 The parent Model.
std::string robotNamespace
ParamT< std::string > * robotNamespaceP
 for setting ROS name space
ros::NodeHandlerosnode_
 pointer to ros node

Detailed Description

A Bumper controller.

Definition at line 81 of file gazebo_ros_bumper.h.


Constructor & Destructor Documentation

gazebo::GazeboRosBumper::GazeboRosBumper ( Entity *  parent  ) 

Constructor.

Definition at line 48 of file gazebo_ros_bumper.cpp.

gazebo::GazeboRosBumper::~GazeboRosBumper (  )  [virtual]

Destructor.

Definition at line 67 of file gazebo_ros_bumper.cpp.


Member Function Documentation

void gazebo::GazeboRosBumper::ContactConnect (  )  [private]

Definition at line 114 of file gazebo_ros_bumper.cpp.

void gazebo::GazeboRosBumper::ContactDisconnect (  )  [private]

Definition at line 120 of file gazebo_ros_bumper.cpp.

void gazebo::GazeboRosBumper::ContactQueueThread (  )  [private]

Definition at line 333 of file gazebo_ros_bumper.cpp.

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

Finalize the controller.

Definition at line 324 of file gazebo_ros_bumper.cpp.

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

Init the controller.

Definition at line 127 of file gazebo_ros_bumper.cpp.

void gazebo::GazeboRosBumper::LoadChild ( XMLConfigNode *  node  )  [protected, virtual]

Load the controller

Parameters:
node XML config node

Definition at line 77 of file gazebo_ros_bumper.cpp.

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

Update the controller.

if frameName specified is "world", "/map" or "map" report back inertial values in the gazebo world

Definition at line 140 of file gazebo_ros_bumper.cpp.


Member Data Documentation

Definition at line 115 of file gazebo_ros_bumper.h.

ParamT<std::string>* gazebo::GazeboRosBumper::bumperTopicNameP [private]

set topic name of broadcast

Definition at line 114 of file gazebo_ros_bumper.h.

Definition at line 138 of file gazebo_ros_bumper.h.

Definition at line 111 of file gazebo_ros_bumper.h.

Definition at line 136 of file gazebo_ros_bumper.h.

Keep track of number of connctions.

Definition at line 131 of file gazebo_ros_bumper.h.

broadcast some string for now.

Definition at line 124 of file gazebo_ros_bumper.h.

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

Definition at line 118 of file gazebo_ros_bumper.h.

ParamT<std::string>* gazebo::GazeboRosBumper::frameNameP [private]

Definition at line 117 of file gazebo_ros_bumper.h.

boost::mutex gazebo::GazeboRosBumper::lock [private]

A mutex to lock access to fields that are used in message callbacks.

Definition at line 121 of file gazebo_ros_bumper.h.

Return information in this body (link) coordinate if unavailable, use "/map" and global gazebo world frame.

Definition at line 107 of file gazebo_ros_bumper.h.

ContactSensor* gazebo::GazeboRosBumper::myParent [private]

The parent Model.

Definition at line 103 of file gazebo_ros_bumper.h.

Definition at line 128 of file gazebo_ros_bumper.h.

ParamT<std::string>* gazebo::GazeboRosBumper::robotNamespaceP [private]

for setting ROS name space

Definition at line 127 of file gazebo_ros_bumper.h.

pointer to ros node

Definition at line 110 of file gazebo_ros_bumper.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


gazebo_plugins
Author(s): Sachin Chitta, Stu Glaser, John Hsu
autogenerated on Sat Mar 2 13:40:08 2013