ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Bump Sensors on Simulated TurtletBot in kinetic

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

RobB gravatar image

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

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.

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

Question Tools

1 follower

Stats

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

Seen: 883 times

Last updated: Sep 28 '21