Line Following on a course with Sharp corners

I tried out line following with PID Control ( on a course with sharp corners - a rectangle. Over several runs, I saw that my 3pi could not go around corners - it drove around in circles instead. Is this behaviour expected ?

Well, if you are using one of the “demo” programs than probably yes, they are made to show how m3pi can work but on an easy, common tracks, for more complicated tracks e.g. with sharp corners you have to write your own code ;]
the pid doesn’t have much to do with sharp corners, so that code can probably stay the same