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
1.06k stars 550 forks source link

Weird deceleration in TEB local planner #377

Open YuLin1226 opened 2 years ago

YuLin1226 commented 2 years ago

Hi, when running navigation for amr project, I met a weird problem about the deceleration when the robot approaches the goal.

Here are two images about the linear velocity taken in gazebo and real world.

Gazebo simulation: https://imgur.com/a/12EEBVa

Real world running: https://imgur.com/0PSGtdV

From the images, it's obviously that the robot can start very smooth in both situation, but can only stop smooth in gazebo simulation. In real world, the robot failed to do so.

The test in both environments is "go straight only", so I use rviz to plot the cmd_vel/linear/x.

Is there anyone that faced the same issue before and can give some advices?

Thanks.