The sbpl_lattice_planner is extending path unnecessarily

asked 2016-02-19 09:24:16 -0600

Orhan gravatar image

Hi, I'm using this fork with its sbpl package, for indigo. And created motion primitive file with genmprim_unicycle.m ( for forward, backward, turn-in-place, forward-turn-arcs) on Matlab.

At the beginning, It computes path very well. But When the robot is near to end, planner is updating path with absurd one. And struggling with a bit left / right movements, here is image: Struggling

How can I solve this problem? And Here is its parameters:

SBPLLatticePlanner:
  planner_type: "ARAPlanner"
  allocated_time: 10.0
  initial_epsilon: 2.83 
  environment_type: "XYThetaLattice"
  forward_search: false
  primitive_filename: "" # Setting in launch file
  force_scratch_limit: 500 
  nominalvel_mpersecs: 0.4
  timetoturn45degsinplace_secs: 0.6

Thank You.

edit retag flag offensive close merge delete

Comments

And Footprint Rectangle is coming late.

Orhan gravatar image Orhan  ( 2016-02-19 09:34:41 -0600 )edit
1

It looks like your robot is starting in one orientation, and ending in the opposite orientation somehow. Does it track the path well?

ahendrix gravatar image ahendrix  ( 2016-02-20 13:16:04 -0600 )edit

No, dwa_local_planner follows path at the beginning only. I'll increase its path_distance_bias. I'll write after this, I'm on mobile now.

Orhan gravatar image Orhan  ( 2016-02-20 13:45:07 -0600 )edit

But global plan is changing fast.

Orhan gravatar image Orhan  ( 2016-02-20 13:45:59 -0600 )edit
1

dwa_local_planner cannot follow the backing maneuvers that SBPL generates; it will get confused by them and command the robot to turn or move in the wrong direction. I strong suggest you use a different local planner.

ahendrix gravatar image ahendrix  ( 2016-02-20 13:54:48 -0600 )edit

I can configure dwa_local_planner for following path at the beginning, here is why I'm using dwa_local_planner.

Orhan gravatar image Orhan  ( 2016-02-20 14:13:16 -0600 )edit

And Thank you sir. What's your best suggestion for global and local planner? Here is my other question for my robot's motion.

Orhan gravatar image Orhan  ( 2016-02-20 14:25:17 -0600 )edit
1

I'm not aware of any good local planners for this. This may be a good starting point, but it needs a lot of work.

ahendrix gravatar image ahendrix  ( 2016-02-20 23:50:35 -0600 )edit