Bump sensors on Turtlebot in Gazebo running kinetic [closed]

asked 2016-10-10 03:03:45 -0600

RobB gravatar image

Bump sensors always return 0 (state= 0) on turtlebot simulated in gazebo running kinetic.

Surely someone else has experienced this problem and knows how to fix it?

Under kinetic, enter the following commands in 4 separate terminals:


roslaunch turtlebot_gazebo turtlebot_world.launch

rostopic pub -r 1 /mobile_base/events/bumper kobuki_msgs/BumperEvent "bumper: 1"

rostopic echo /mobile_base/events/bumper

Output from the last shows the bumper is never registered as pressed (state=0)

I'm getting no help from anyone on this simple issue. Perhaps ROS Answers really should be renamed ROS Questions (as actually there are not many answers).



edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by tfoote
close date 2016-10-10 15:25:49.496298


Please don't ask duplicate questions, http://answers.ros.org/question/24526... if you ask duplicate questions it makes more work for people volunteering to answer questions. See our support policy: http://wiki.ros.org/Support

tfoote gravatar image tfoote  ( 2016-10-10 15:25:45 -0600 )edit

Surely not fair to close this. I'm new to ROS answers and it is has taken me a while to figure out that most questions don't get answered. So I'm putting my issue in a different ways that'll hopefully get a response.

RobB gravatar image RobB  ( 2016-10-10 22:05:31 -0600 )edit

In this version, I'm asking someone who is running kinetic to test the 4 supplied commands and tell me what they get in the way of bumper messages. I would have thought it obvious that would be helpful to me and not too much to ask.

RobB gravatar image RobB  ( 2016-10-10 22:07:06 -0600 )edit

You are clearly debugging the same problem. As such please edit your post to add more information instead of duplicating your question as a request for someone else to do something. Clearly if they are going to take the time to help you they will try to reproduce the problem.

tfoote gravatar image tfoote  ( 2016-10-11 02:51:53 -0600 )edit

As you've noticed there are a lot of questions, as a part of the community it's your responsibility to not clutter the forum with multiple copies of your request that will make it harder for others to find the relevant answers they are looking. This also makes more work for people answering.

tfoote gravatar image tfoote  ( 2016-10-11 02:52:55 -0600 )edit

Please read through the support guidelines: http://wiki.ros.org/Support especially the Etiquette section.

tfoote gravatar image tfoote  ( 2016-10-11 02:53:50 -0600 )edit