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

Is the turtlebot bumper sensor being used by the naviation stack?

asked 2012-06-17 16:53:32 -0600

updated 2012-06-17 17:09:05 -0600

Eric Perko gravatar image

Hello,

My turtlebots don't respond to the bumper sensor when navigating using AMCL. That is, there appears to be no default behavior related to the bumper. Of course, I am planning to fix this in my own logic, but I wanted to be sure that I am not missing some basic functionality or configuration step.

That is, is there some out of the box bumper functionality included, or is it assumed that we will build that into our own behaviors (such as to back up, re-orient, etc.)? If we should build it ourselves, is it simply a matter of subscribing to the sensor_state messages to get the bumper state? Will I need to cancel my AMCL goal before backing up?

After looking around, all I could find is this enhancement request: https://kforge.ros.org/turtlebot/trac/ticket/35

Thank you in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-06-17 20:56:32 -0600

weiin gravatar image

The bumper sensor is used to stop the turtlebot at the lowest level: relevant code

Once the navigation stack realizes it isn't moving even after sending velocity commands, it may (if you've enabled it) go into recovery behaviour. The default behaviour (which the default turtlebot launch files use) is here

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-17 16:53:32 -0600

Seen: 1,120 times

Last updated: Jun 17 '12