Software Setup

  1. Open the Visual Studio Code from the Applications directory on the flash drive
  2. Click on the small green square in the bottom left corner of the screen

    VSCode Main Screen

  3. Select the “Connect Current Window to Host…” option

    VSCode Remote-SSH

  4. Type “pi@pibot##.local” and press enter

    Replace the text “pibot##” with the label on the pibot

    The password to enter when prompted is “DogsAndCatsAreNice2.” without the quotes. The '.' at the end is important!

    It may take a couple of minutes while it installs some files on the PiBot

    VSCode Remote Connection

  5. Click the “Open Folder” button

    VSCode Open Folder

  6. Select the “pibot” folder and click the “OK” button

    VSCode Browse

  7. Select the picar-line-maze.py file in the list on the left

    VSCode picar-line-maze.py

  8. Select File→Save As… and save the file as picar-line-maze-obstacles.py

    VSCode picar-line-maze-obstacles.py

  9. Use the information below to change the code so that the PiBot will solve the maze with obstacles
  10. After the changes to the code are complete, save it with File→Save

Software Explanation

Return to Challenge 2

"Then God said, “Let us make man in our image, after our likeness. And let them have dominion over the fish of the sea and over the birds of the heavens and over the livestock and over all the earth and over every creeping thing that creeps on the earth.” - Genesis 1:26"