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

Bump Sensors on Simulated TurtletBot in kinetic

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

RobB 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.

Rob

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Comments

DamienJadeDuff gravatar imageDamienJadeDuff ( 2016-12-21 01:41:05 -0500 )edit
DamienJadeDuff gravatar imageDamienJadeDuff ( 2016-12-21 01:41:52 -0500 )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 imageRobB ( 2016-12-22 03:48:31 -0500 )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

Stats

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

Seen: 130 times

Last updated: Dec 21 '16