ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to use gazebo bumper plugin to get contact state?

asked 2012-10-12 22:32:00 -0600

tommy gravatar image

updated 2021-09-27 08:54:31 -0600

lucasw gravatar image

I'm trying to pull out some data from the contact point of an object, so I chose to use the Gazebo Ros Bumper plug in. I call the plugin in the sensor section of my xml file. But now i don't know how to see my data displayed.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-13 19:41:41 -0600

SL Remy gravatar image

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"

edit flag offensive delete link more

Question Tools


Asked: 2012-10-12 22:32:00 -0600

Seen: 3,145 times

Last updated: Sep 27 '21