Table of Contents

Set Forward Coast Delay

Description

This block sets a short forward movement duration used by the line-following system.

How It Works

The forward coast delay provides a controlled period of forward movement when transitioning through line-following situations such as junctions or checkpoint markings.

It can help the robot move beyond a marking before continuing its next movement decision.

Python Function – Quarky and Quarky Intellio:

lf5ir.setturningforwarddelay(150)

Example: Set the forward coast delay to 150 ms to configure the duration of the forward movement.

Technical Note: The supplied references differ on whether this parameter also controls the delay before line-loss recovery. The corresponding Python method is setturningforwarddelay(). Its exact behaviour should be checked against the installed firmware before documenting it as a configurable line-loss timeout.

Line Follower without Adaptive Feedback

This section provides blocks for automatic line following using predefined motor speed parameters.

The robot reads the IR sensor values and adjusts its motor speeds according to the detected position of the line.

This approach allows the robot to follow straight paths, make gradual corrections, and respond to sharp deviations without using PID calculations.

Example

There are no examples documented for this article.