myCode contains code to pick up a caboose on the track and pull it back.
This code tests the reflective sensors on the prototype to count the number of rounds the wheel spins forward and backward.
The stopAtGate code will run a set of codes that turns on the motors to allow the robot to move forward for a specified distance. Once the distance is met, a set of code will kick start the motors to run in reverse, using enough power to make a complete stop.
This set of codes functions as a forward and pause motion. This will simulate the robot moving past an obstacle (in a scaled down approach, a gate), pause, then continue forward for a set time.