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

ROS Navigation: Global and Local Planner

asked 2014-07-29 21:41:19 -0600

ROSCMBOT gravatar image

Hello,

Is there a way to modify the local planner so that the robot would always move within a certain distance of the Global Path. And in this case, if an obstacle appeared on the map and covered the global path, and re-planning required the robot to move outside this predefined distance of the original global path, the robot should just stop.

Thanks

edit retag flag offensive close merge delete

Comments

Which local planner are you using?

David Lu gravatar image David Lu  ( 2014-07-29 22:10:35 -0600 )edit

I'm using ROS default local planner (DWA or Trajectory Rollout)

ROSCMBOT gravatar image ROSCMBOT  ( 2014-07-29 22:28:54 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-07-29 22:55:22 -0600

David Lu gravatar image

With DWA, you can bias the robot toward staying on the global path by increasing the path_distance_bias parameter.

http://wiki.ros.org/dwa_local_planner...

edit flag offensive delete link more

Comments

Thanks, but this is not exactly what I want to do. Your suggested way will force the robot to stop if an obstacle appears on the global path, but I want the robot to replan if there is a path within a certain distance of the global path, and stops otherwise

ROSCMBOT gravatar image ROSCMBOT  ( 2014-07-30 14:43:40 -0600 )edit

That kind of behavior requires more complex tuning of move_base, and the functionality for that is not yet available.

David Lu gravatar image David Lu  ( 2014-07-30 15:55:20 -0600 )edit

Maybe I should open another thread for this question, but is it possible to manually update the costmap so everything outside the certain distance of the global path become obstacles, so that the robot never moves to those areas?

ROSCMBOT gravatar image ROSCMBOT  ( 2014-07-30 16:20:50 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-07-29 21:41:19 -0600

Seen: 1,539 times

Last updated: Jul 29 '14