Welcome to the TM129 Robotics block
Contents
Welcome to the TM129 Robotics block¶
If you’re reading this via the TM129 virtual computing environment (the TM129VCE
) you should be all set to go.
But first let’s do a quick test to check everything’s working.
Click in the text box below, which contains a line of programming code, and then click on the Run button in the toolbar at the top of the screen to execute the code.
If you don’t see an error message, or you see a message saying something is missing or not installed, go to the Installing missing requirements section below.
from ou_tm129_py import test_install
test_install()
Making the notebooks shareable – local Docker installation¶
This section only applies to running the VCE using a local Docker installation. If you are accessing this notebook via an online server, you can ignore this section.
The TM129 VCE comes pre-packaged with the notebooks used to support the TM129 Robotics block practical activities.
When you created the VCE container, if you mounted a shared folder into the VCE, such as the folder /home/jovyan/shared
, you will be able to copy the distributed notebooks into that folder.
From the notebook homepage:
tick the checkbox alongside the
content
folderin the notebook toolbar, click the Move button
enter the location
shared
(or whatever directory name you mounted you local/host shared directory onto inside the container) and click Move.
This should move the contents of the content
directory into the shared directory, so should be available from the folder you shared from your host computer, as well as inside the VCE.

Making the supplied notebook content visible on your computer desktop¶
The local TM129 VCE runs in a Docker container. If you ran the original docker run
command with one or more volume mounting -v
flags, or created the container from the docker Dashboard with shared directory volumes, then you will be able to share files and directories between the VCE and your computer desktop.
If you mounted a directory in the container at /home/jovan/notebooks
, then you should be able to see
Installing missing requirements¶
Follow the guidance in this section if you think that some packages may be missing from your VCE installation.
Click in the following code cell to select it, then click the Run button in the notebook toolbar.
%pip install --upgrade ou-tm129-py
When the package has finished installing:
from the notebook Kernel menu, select Restart
click in the
test_install()
cell near the start of this notebook and run it again; the tests should now pass correctly.