This video is about modifying our previous SUMO program, to assist our Fusion Robot to “Clear the Pool of Toys”.
First we take the main working part of our SUMO program. and move it into a “Blockly Function” body. This gives us an extra “Clear Pool” Blockly block, which we insert into our main program in the place from which we have just removed our code. Since the SUMO ring had a white center, and a black surround, and our swimming pool has a dark center and a white surround, we need to make a couple of minor changes to our new “Clear Pool” function (see video).
However, as you can see from the video, it all works out quite nicely!