Ask Your Question

STUCK at Turning!!!!!! Navigation help!

asked 2013-06-20 12:30:07 -0500

Gazer gravatar image

updated 2013-06-20 20:53:59 -0500

please help guys. image description

Please refer to the picture. As you can see, whenever the robot is turning, it will stuck at the corner. It just stays at there instead of performing recovery plan, back up, etc. But then you don't have a sharp turn like this, navigation works great. It would be awesome if you guys could help to debug a little, because I had already investigated with the params offered by the stacks. Thank you all in advance.

Here is my configuartion.

  max_vel_x: 1.0
  min_vel_x: 0.2
  max_rotational_vel: 1.6
  min_rotational_vel: 0.2
  min_in_place_rotational_vel: 0.2

  acc_lim_th: 2.2
  acc_lim_x: 2.5
  acc_lim_y: 2.5
  holonomic_robot: false
  goal_distance_bias: 0.8
  path_distance_bias: 0.8  #[working on 8.0]
  occdist_scale: 0.01
  heading_lookahead: 0.325
  dwa: false
  escape_vel: -0.8

  sim_time: 1.0
  sim_granularity: 0.025
  vx_samples: 3
  vtheta_samples: 20

  yaw_goal_tolerance: 0.8 # about 6 degrees
  xy_goal_tolerance: 0.2 # 5 cm
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2013-06-21 05:20:49 -0500

David Lu gravatar image

Your costmap looks like the robot should not be in collision. It seems like the reason why it is colliding is likely to be one of two things.

A) Improper footprint parameter - Increasing the size of the footprint (to maybe include the wheels?) would increase the inflation of the wall obstacle.

B) Also miiiiiiiiiight be a localization problem.

edit flag offensive delete link more


it's A. Thank you and fixed.

also, I have one more question about the "path_distance_bias" and "goal_distance_bias", If I want the robot to follow the global plan ( that I see in the Rviz), then I should increase the "path_distance_bias" right?

Gazer gravatar imageGazer ( 2013-06-21 08:53:47 -0500 )edit

I believe so. Are you not seeing that behavior?

David Lu gravatar imageDavid Lu ( 2013-06-21 10:34:30 -0500 )edit

Your Answer

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

Add Answer

Question Tools


Asked: 2013-06-20 12:30:07 -0500

Seen: 1,429 times

Last updated: Jun 21 '13