Ask Your Question
0

dwa_local_planner unable to make narrow U turn

asked 2016-10-25 09:56:28 -0600

piliwilliam gravatar image

Hi all, things work perfectly when the robot goes straight, turning, or making wide U turns. However, I'm facing an issue that the robot stuck at certain location when its trying to make narrow U turn as shown in this video. Below is my dwa_local_planner parameters.

planner_frequency: 0.25
controller_frequency: 10.0
DWAPlannerROS:
   max_trans_vel: 0.25
   min_trans_vel: 0.05
   max_vel_x: 0.25
   min_vel_x: -0.05
   max_rot_vel: 0.6
   min_rot_vel: 0.2
   acc_lim_x: 2.5
   acc_lim_theta: 6.0
   occdist_scale: 0.01
   oscillation_reset_dist: 0.05
   oscillation_reset_angle: 0.2
   path_distance_bias: 60
   sim_time: 2.0
   sim_granularity: 0.1
   angular_sim_granularity: 0.1
   vx_samples: 3
   vy_samples: 1  # zero for a differential drive robot
   vtheta_samples: 20
   dwa: true

Did anyone face the same issue i'm facing? If so, can you explain what is happening?

Thanks a lot, Will

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-10-26 03:19:05 -0600

asimay_y gravatar image

first, the narrow U turn is not really narrow. I think that's caused by your costmap inflation layer's improper setting. from video, the costmap inflation is overlaped between the U turn. so this can affect the planner's result. you can try to change the parameter, and adjust the proper parameters to make your car go through.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-10-25 09:56:28 -0600

Seen: 261 times

Last updated: Oct 26 '16