ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
According to the wiki, GazeboRosBumper plugin provides contact feedback via ContactsState message. So you will need to subscribe to the topic that is publishing that message.
rostopic (list, info, type...) is your friend.
More generally, you should search on answers.ros (and also pay attention to tags). When I select the "bumper" tag (or include it as an "Interesting tag" on the right menu), one of the questions that is listed is "How do I use force sensor/ bumper sensor in Gazebo" and "Reading bumper state from PR2"