I have created a new line following programm. This time I have included a light sensor calibration function and the option to adjust the power settings by pressing the left / right buttons.
After some (failed) experiments with polynomial functions to calculate the speed of the wheels I decided to do something rather simple 🙂
The light sensor range is simply mapped to the range of the steering block. This works great with low power settings and is still acceptable with higher settings.
Building instructions for the robot can be found in this blogpost.