Tell me what could be the problem?
1) I recorded a circular route
2) Sometimes random stuck textures occur. For example, a tree branch, a bush, a small stone, or a curb.
3) After getting stuck like this, the bot bugs and tries to return to the starting point of the route, instead of continuing.
4) With this bug, he runs to the beginning in a straight line, hitting all possible textures and getting stuck completely.
5) In the protection settings, after 20 jams, the bot closes.
How to make the bot continue the route after getting stuck instead of running to the beginning?