teb_local_planner icon indicating copy to clipboard operation
teb_local_planner copied to clipboard

How to make robot turn to correct direction firstly?

Open oym1994 opened this issue 2 years ago • 4 comments

Hi, Thanks for this great job. I am testing it with my real robot. I have found that, if the goal is behind the robot, it will move backward and turn. I want the robot to change its direction first(rotation in place, the robot minimum turning radius is set to be 0) and then move, finally then change its direction when reached or near the position.How can I change the parameters to achieve that? Or maybe the algorithm dose not support this kind of planning? Thanks for your attention and wait for your kind response!

oym1994 avatar Jun 21 '22 07:06 oym1994

It would be better if you posted your configuration. Nonetheless, this particular behavior could be better enforced by another controller instead of tuning TEB to achieve this and risk deteriorating the performance of other optimization objectives.

You might benefit from rotation shim

jcmonteiro avatar Jun 21 '22 09:06 jcmonteiro

Thank you for your kind response. I have yet tried rotation shim, it really can solve my problem!

oym1994 avatar Jun 23 '22 09:06 oym1994

Glad it helped. I suggest closing the issue if it is indeed resolved.

jcmonteiro avatar Jun 23 '22 09:06 jcmonteiro

Glad it helped. I suggest closing the issue if it is indeed resolved.

OK!

oym1994 avatar Jun 24 '22 03:06 oym1994