Grading
Each coded question is graded on its check cell, which prints
passed when your code is correct, and on one sentence about what you see. The sentence is worth 5 points; the code is worth the rest.
Further reading
The Background section of the notebook is enough to answer every question. Lynch and Park, Modern Robotics, covers the same material in more depth:- Chapter 2, sections 2.1, 2.3 and 2.4: degrees of freedom, configuration space, and velocity constraints. You can download chapter 2 as a PDF.
- Chapter 3, section 3.1: rigid-body motion in the plane. You can download chapter 3 as a PDF.
- Chapter 13, subsection 13.3.1.2 (the differential-drive robot) and section 13.4 (odometry). You can download chapter 13 as a PDF.
- For Question 4: the section from velocity to motion in motion representations, where a pose is a matrix in SE(2) and a twist is a matrix in se(2).
What you will need
The default Colab runtime is enough: the simulation runs on a CPU, and it uses a GPU if one is available. The first cell installs the simulation libraries. On the CPU runtime the whole notebook takes about ten minutes, almost all of it simulation, and the first simulation takes about two minutes because the simulator compiles it first. A GPU runtime is much faster.Assignment notebook
Open Notebook in Colab
TurtleBot kinematics notebook
What you hand in
- The notebook, with the output from every cell saved.
- The
recordingsfolder the notebook creates. It holdsturtlebot.rrd, a recording of your simulation made with Rerun, an open-source visualization tool for robotics data. You can check it in the Rerun web viewer before you submit.
Submitting
Commit the notebook and therecordings folder to your private clone of the class repo under assignments/turtlebot-kinematics. Save the output from every cell before you commit.
Submit the complete GitHub URL for that directory to Canvas. Do not submit the repository root.
Found an error on this page? Report an issue.

