#include <reem_bumper_gazebo.h>
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::NodeHandle * | rosnode_ |
pointer to ros node | |
gazebo::sensors::ContactSensorPtr | sensor_ |
event::ConnectionPtr | update_connection_ |
A Bumper controller.
Definition at line 49 of file reem_bumper_gazebo.h.
Constructor.
Definition at line 42 of file reem_bumper_gazebo.cpp.
Destructor.
Definition at line 47 of file reem_bumper_gazebo.cpp.
void gazebo::ReemGazeboBumper::ContactConnect | ( | ) | [private] |
Definition at line 131 of file reem_bumper_gazebo.cpp.
void gazebo::ReemGazeboBumper::ContactDisconnect | ( | ) | [private] |
Definition at line 136 of file reem_bumper_gazebo.cpp.
void gazebo::ReemGazeboBumper::ContactQueueThread | ( | ) | [private] |
Definition at line 297 of file reem_bumper_gazebo.cpp.
void gazebo::ReemGazeboBumper::Load | ( | sensors::SensorPtr | _parent, |
sdf::ElementPtr | _sdf | ||
) |
Load the plugin.
take | in 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.
std::string gazebo::ReemGazeboBumper::bumper_topic_name_ [private] |
set topic name of broadcast
Definition at line 71 of file reem_bumper_gazebo.h.
boost::thread gazebo::ReemGazeboBumper::callback_queue_thread_ [private] |
Definition at line 89 of file reem_bumper_gazebo.h.
int gazebo::ReemGazeboBumper::contact_connect_count_ [private] |
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.
std::string gazebo::ReemGazeboBumper::frame_name_ [private] |
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.
std::string gazebo::ReemGazeboBumper::robot_namespace_ [private] |
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.