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

Turtlebot navigation stack "occdist_scale"

asked 2013-07-16 17:43:42 -0500

turtlebotnewbie gravatar image

updated 2013-07-16 20:32:43 -0500

This is with reference to the tutorial "Setup the Navigation Stack for TurtleBot" http://www.ros.org/wiki/turtlebot_navigation/Tutorials/Setup%20the%20Navigation%20Stack%20for%20TurtleBot In this article, under the sections Move base/Planner/Cost computing biases, "occdist_scale" is mentioned to make the robot more afraid of obstacles. I looked in turtlebot_navigation/param/base_local_planner_params.yaml and could not find any such parameter. Am I looking at the right file, or is this some outdated info on the wiki? Can anyone suggest a way to increase the turtlebot's 'fear' of obstacles when it is autonomously navigating a known map?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-07-17 00:39:00 -0500

jorge gravatar image

You are right, occdist_scale is not set for Turtlebot navigation, so it takes the default value (0.01). But you can set it, of course.

The two other weights for the cost function are set as

  • goal_distance_bias: 0.8
  • path_distance_bias: 0.6

but I think they are actually ignored. I have checked the code (hydro) and they are used by DWA planner, but no by the generic base_local_planner. So they are never used with turtlebot, to my understanding, regardless the local planner you use (dwa boolean parameter). A confirmation will be very appreciated!

I have changed the base_local_planner wiki accordingly. I hope I'm right...

edit flag offensive delete link more

Comments

Thanks. I realized that the yaml file does not specify all the parameters. It takes default values for most of the parameters. The list of all parameters that can be set in the base_local_planner_params.yaml are given is section 4.2 of the following link: http://www.ros.org/wiki/base_local_planner

turtlebotnewbie gravatar image turtlebotnewbie  ( 2013-07-17 17:30:04 -0500 )edit

Btw, on hydro we have updated most turtlebot navigation parameters

jorge gravatar image jorge  ( 2013-07-23 13:49:56 -0500 )edit

Question Tools

Stats

Asked: 2013-07-16 17:43:42 -0500

Seen: 1,585 times

Last updated: Jul 17 '13