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

SBPLLatticePlanner local planner [closed]

asked 2014-06-17 07:03:49 -0600

acp gravatar image

Dear all.

I have a differential mobile robot and I am successfuly using SBPLLatticePlanner as a global planner as part of the navigation stack. I tested the robot with :

base_global_planner: SBPLLatticePlanner

base_local_planner: dwa_local_planner/DWAPlannerROS

   allocated_time: 10
   initial_epsilon: 15.0
   lethal_obstacle: 20.0

And I also tested the robot by commenting out # base_local_planner: dwa_local_planner/DWAPlannerROS

I am using genmprim_unicycle.m to generate motion primitives.

I have experience some issues.

1.- When I comment out base_local_planner: dwa_local_planner/DWAPlannerROS and then I set the goal behind the robot from the current position, the robot does not turn back towards the goal. It starts shaking left-right instead.

2.-The robot does not follow the path close enough, meaning that in crashes with obstacles even though I have set inflation_radius accordingly to the footprint of the robot.

The questions are:

1 .- Is there any local base planner that must be use together with SBPLLatticePlanner.

2.- Which parameters I need to tune or set in order for the robot to turn back when I set the goal behind it?

In advance thank you for your replay.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Procópio
close date 2016-02-24 08:27:12.140857

1 Answer

Sort by » oldest newest most voted

answered 2014-06-20 03:20:56 -0600

fergs gravatar image

For (1) you can use either local planner (DWA or Trajectory Rollout) -- but you will almost certainly have to tune it for your robot. If you haven't supplied velocity and acceleration limits for your local planner, you will likely not get good results. See the Local Planner section of the Basic Navigation Tuning Tutorial for a list of things you probably want to tune.

For (2), you might have to come up with new motion primitives -- I'm not sure if the default ones include turning in place. I would certainly visualize the local and global plans in RVIZ though to be sure of which planner is actually not getting you to your goal.

edit flag offensive delete link more


Hi, thank you very much for your answer, I have solved the issues with unicycleplussidewaysplusbackturn.mprim, however I have another issue, Sometimes it get stuck when it gets trap in inflated obstacles even though there is enough space around the robot. I found the package sbpl_recovery in this site t hat I think it could help to recover when the robot gets trap. But the package does compile under Hydro due to changes in costmap2d. Or is there some other solution.

acp gravatar image acp  ( 2014-06-30 06:18:14 -0600 )edit

Question Tools

1 follower


Asked: 2014-06-17 07:03:49 -0600

Seen: 1,004 times

Last updated: Jun 20 '14