How to diagnose local planner spinning in place
When local costmap inflation or stale obstacles are too restrictive, the controller may mark a passable aisle as blocked and trigger repeated recovery spins.
How to test it
Reproduce the issue in a narrow aisle while recording the local costmap and velocity commands. Compare the robot footprint against inflation margins and check whether stale obstacles fail to clear.

ZHILIANHAI