rst-tu-dortmund / teb_local_planner

An optimal trajectory planner considering distinctive topologies for mobile robots based on Timed-Elastic-Bands (ROS Package)
http://wiki.ros.org/teb_local_planner
BSD 3-Clause "New" or "Revised" License
985 stars 546 forks source link

How to make robot turn to correct direction firstly? #370

Open oym1994 opened 2 years ago

oym1994 commented 2 years ago

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!

jcmonteiro commented 2 years ago

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

oym1994 commented 2 years ago

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

jcmonteiro commented 2 years ago

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

oym1994 commented 2 years ago

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

OK!