By Simon Bluck
Table of Contents
This session adds to what was learnt from Session 2: Syntax and Constructs, and goes on to cover some further language constructs. The sessions now broadly follow the standard tutorial, but in a very condensed way. You are very much advised to refer to the tutorial for a fuller coverage of the language; and indeed, to the full language reference for complete coverage. Some of the examples shown here are taken from the tutorial.
Go to the course material
by Eileen Amirault (with a little help from Cody Gregory)
Last March Break, I read a book that changed my life. I immediately ran out and purchased an Arduino. A Raspberry Pi was not far behind. After a few months of experimenting, and watching YouTube videos of kids building Obstacle Avoidance Robots (OAR), we thought it looked like a good ﬁrst project. We call it Bobby OAR. An OAR is an autonomous robot that rolls around and avoids obstacles by using sensor input. Then, based on programming, ﬁnds an alternate path forward, avoiding obstacles along the way. We had most of the components from various kits, so only a chassis and wheels needed to be ordered. Or was there something else?