I am pretty sure this method will lead to oscillations. In fact in the Ken's video this really happens. The car "oscillates" around its desired path.
With simple if-then commands this cannot be compensated. As discussed in previous post, a PID loop control can help.
Ioannis
Bookmarks