Using this function, the robot initiates line following until a checkpoint (black line) is detected. The robot will not stop until the checkpoint is detected (both IR sensors on the black line). To stop the robot, you need to place it on a black line or reset the robot.
dolinefollowinguntilcheckpointdetect(1)