ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
1

How to use gazebo bumper plugin to get contact state?

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

tommy gravatar image

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

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
2

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

Stats

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

Seen: 3,007 times

Last updated: Sep 27 '21