Introduction

During this activity, students practice their mBot programming skills by guiding mBot through two parking scenarios: parallel parking and angled parking.

NOTE In this activity, students are presented with a set of scenarios to engage their creativity and challenge their coding skills; step-by-step directions are not included as the activity is intended for students who are familiar with programming mBot using the mBlock Blockly app.

Objectives

  • Practice writing code for mBot to complete a task (autonomous parking).
  • Apply an understanding of the Ultrasonic Sensor to mimic the actions of real-world autonomous vehicles.
  • Troubleshoot coding issues when problems arise.