The following two lines are required to complete initialisation of the kit:
from sbot import * r = Robot()
Once this has been done, this
Robot object can be used to control the
The remainder of the tutorials pages will assume your
Robot object is
Your code needs to be put in the
zone-1 folder in a file called
crane.py for the forklift and crane robots respectively.
If this file is missing or incorrectly named, your robot won’t do anything. No log file will be created.
A log file is saved in the
output/ folder so you can see what your robot did,
what it didn’t do, and any errors it raised. Each log file is in a folder based on its
date and time, so you can look back at your previous runs.
Python already comes with plenty of built-in libraries to use. We install some extra ones which may be of use:
If you would like an extra library installed, go and ask a volunteer to see if we can help.