ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Bump Sensors on Simulated TurtletBot in kinetic

asked 2016-10-08 06:04:36 -0600

RobB gravatar image

updated 2021-09-28 07:08:50 -0600

lucasw gravatar image

Can anyone get a reading from the bump sensors on a simulated turtlebot in Gazebo on kinetic?

I have 4 terminals open.

1) $ roscore 

2) $ roslaunch turtlebot_gazebo turtlebot_world.launch   # run Gazebo simulation

3) $ rostopic pub -r 10 /mobile_base/commands/veloty geometry_msgs/Twist '{linear: {x:0.2}}'    # move the turtlebot forward

4) $ rostopic echo /mobile_base/events/bumper   # display any bumper messages

When the bot runs into an obstacle, and the bump sensor should be pressed, I'm getting no output in terminal 4. Can anyone confirm a different result or explain why there aren't any bumper messages?

I suspect this is not a problem on indigo.

Thanks a lot.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-12-21 01:21:51 -0600

DamienJadeDuff gravatar image

I have the same problem. I cannot seem to get anything published on the bumper topic (ROS Kinetic @ 16.04, everything from packages) I have given up for now but if you are interested in pursuing this further, here is some information.

edit flag offensive delete link more


DamienJadeDuff gravatar image DamienJadeDuff  ( 2016-12-21 01:41:05 -0600 )edit
DamienJadeDuff gravatar image DamienJadeDuff  ( 2016-12-21 01:41:52 -0600 )edit

Yes, thanks. I've given up too - for the time being I'm using the laser sensor at close range to develop my algorithm. It seems to me that the biggest clue here is that others are reporting a bump sensor can be read straightforwardly in versions of ROS prior to kinetic. What could have changed?

RobB gravatar image RobB  ( 2016-12-22 03:48:31 -0600 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2016-10-08 06:04:36 -0600

Seen: 806 times

Last updated: Sep 28 '21