These are codes for running a simple self-driving "car" consisting of four motors, an ultrasonic distance sensor, and a button. The first two codes are simplified versions meant for testing the functions used in the third code.
This code is written in Arduino.