Back to: Fusion Robot Fun – Converting from blockly to Python.
We will initially program our robot in Blockly using Fusion’s Blockly Editor. We will then take a look at the Python code that is automatically produced by our Blockly program. As an experiment, we will copy that Python code, leave the Blockly Editor, LAUNCH the Python Editor, and type in the identical Python code into this Python Editor. We will then run that Python code to confirm that it actually works… 🙂
To check what we did, look at the video below.
The arena that the Fusion robot uses is available for download. It can be printed if you have access to an A1 printer. A second similar arena, but using slightly different colors, is also available for download. If you do not have a “monster alien” available (making some of these can be a fun and amusing Art class project), this A4 image wrapped around a soft drink bottle could perhaps suffice.