Last week we practiced the linefollow. We used the light sensor for this. If it only sees white, it has to steer to the left, if it only sees black, to the right. And we made the robot stop at the black line. And we also used the pressure sensor so that the robot stops when it hits the wall. And we also told the robot that if it sees a black block, it has to drive on and push the block to the side. And if it sees green, it leaves the block alone.


