Blogs are like buses - you wait all month to post one, and then three come along at the same time.
But what else are the Christmas holidays for if not working on Pi Wars and catching up on the blog.
In Pi Wars 2019 there were 2 tasks that involved moving in a straight line between two walls. To achieve this, we had sonar distance sensors on each side of the robot, and code that determined the angle we were travelling at and tried to correct it to keep within the centre of the two walls.
So - we have a robot - actually we've had a robot for a while, but my blog writing hasn't caught up.
Meet Nanny McPi v1.0