Back to: Fusion Robot Fun – Converting from blockly to Python.
Fusion can be taught to follow the edge of a line by using Fusion’s Optical Distance Sensor.
The Optical Distance Sensor should be mounted on the front plate in the position shown below.
In a previous Fusion Blockly tutorial (see here), we demonstrated a Blockly “EdgeFollow” program that taught Fusion to follow the edge of a line. In the video tutorial below, we start with a similar program, and look at how Fusion converts this Blockly code into a Python program that Fusion uses to follow the edge of curved and straight lines. Click to watch…