Arduino code

00_Student_Functions

01_myCode

myCode contains code to pick up a caboose on the track and pull it back.

02_sensorTest

This code tests the reflective sensors on the prototype to count the number of rounds the wheel spins forward and backward.

03_stopAtGate

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.

FE_Controller

High_Level_Functions_Library

stopAndRun

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.