Evolution of Code

Codes Used for Preliminary R&D

Includes code used for…

  • Programming basics where group was familiarized with commands
  • Reflective sensors test; introduced group to the reflective sensors
  • Introduction to data analysis tool, group was familiarized with this program

Code Used for Propeller Configurations in Advanced Research and Development

  • Includes code used for every propeller configuration
  • Code was kept constant for every configuration: did not introduce another variable

Code Used for Motor Configurations in Advanced Research and Development

  • Includes code used for each motor configuration
  • Code was not kept constant
  • Speed kept constant
  • Code was altered using “reverse();” command as some motors were facing opposite direction

Code Used for Performance Test 1

  • Code was updated each Lab Day during Lab 9
  • “Lab 9c” is the code used for Performance Test 1

Code Used for Performance Test 2

  • Two codes were tested to determine the most energy efficient code
  • “Control Code” was most energy efficient and used in Performance Test 2

Code Used for Final Performance Test Preparation

  • Contains code that integrated the “goToAbsolute();” command
  • This command was used as it was determined to be more accurate on a run-by-run basis
  • “Completed Code” was used as basis for every run of Final Performance Tests

Codes Used for All Final Performance Tests

  • Each code was unique to the track and battery of the run

***Changes in codes are bolded***