I had the same problem on Wyze robot vacuum. The robot was doing half circles and could still clean the room but looked like he had lost his mind. Overall he wandered and hit walls, even fell down stairs, so I decide to open him up.
There was a broken white wire on the left wheel. Ive used a razor knife and heated it up to cut a chunk out of the termination block. Once that plastic section was removed, I carefully soldered the wire back on. After, I took clear fingernail polish and covered the area for protection and wire strength.
Now my Wyze vacuum robot works like new again! Thanks for the tip!