Table of Contents

dolinefollowinguntilcheckpointdetect()

Function Definition: dolinefollowinguntilcheckpointdetect(next_checkpoint = 1)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
next_checkpointintThe robot performs line following until several junctions/checkpoints on the line following arena is detected i.e. until it detects black on both IR Sensors simultaneously.1 to 101

Description

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)

Example

There are no examples documented for this article.