Ask Your Question

how to use gazebo bumper plugin to get contact state, simple question

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

tommy gravatar image

hi to everybody, 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. I'm so sorry for the silliness of the question, but I'm new in this world so also simple things are not discounted for me. Thanks a lot in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 2,700 times

Last updated: Oct 13 '12