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

When robot rotates, pose arrows diverges(which makes turning difficult)

asked 2020-10-25 04:29:37 -0500

asdfg123 gravatar image

Hello, There is no problem in navigation except this one. Robot tries to choose the closest path possible but this makes robot rotate sharp turn. That is why in the middle of narrow path, robot stops since pose arrays diverges (like at the beginning) I saw from internet that other robots may not choose the closest path and make a smooth turn but I don't know how to do it ( as I know, it can be done by neutral_cost) Yet, I did not know how to add cost parameter. So it seems there are 2 choices:

1- find a way to make sharp turns without any divergence of pose arrays

2-find a way to write cost parameter and make sharp turns smooth.

I'm really counting on you guys thanks for helping.

Note: this is the video I made for this problem. https://youtu.be/PApn4dh8nnM

edit retag flag offensive close merge delete

Comments

The video is "private"

JackB gravatar image JackB  ( 2020-10-25 11:39:50 -0500 )edit

My apologies, I changed it. Please try again

asdfg123 gravatar image asdfg123  ( 2020-10-25 11:43:17 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-10-26 21:18:51 -0500

JackB gravatar image

To answer 1)

Assuming you are using amcl you should lower the values of odom_alpha1 and odom_alpha4. This will reduce the amount of noise added during the "predict" step during sharp rotations.

edit flag offensive delete link more

Comments

it works when I made odom_alpha1 and4 0. Unfortunately, still robot stops in the middle of path(I upload a new video for it.). Can you have any solution for that? Thanks for answering.

The address of the video: https://youtu.be/IRZb3BbVVAk

asdfg123 gravatar image asdfg123  ( 2020-10-26 21:57:22 -0500 )edit

I would consider increasing the global costmap's (read: the one that the global planner works on) inflation radius. This will keep it further away from walls. Glad I could help!

JackB gravatar image JackB  ( 2020-10-27 08:56:20 -0500 )edit

And I would not reduce the odom_alpha terms to 0. That is saying "I have 100% perfect odometry when I turn" and we can all agree that is not the case. Try smaller values, but not zero. Cheers

JackB gravatar image JackB  ( 2020-10-27 08:57:03 -0500 )edit

thank you.

asdfg123 gravatar image asdfg123  ( 2020-10-28 04:25:54 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-10-25 04:29:37 -0500

Seen: 225 times

Last updated: Oct 26 '20