This shows you the differences between two versions of the page.
milestone_3_task_3 [2023/03/09 12:49] scott [Pass Off] |
milestone_3_task_3 [2024/03/09 16:18] (current) scott [Demonstration Videos and other Links] |
||
---|---|---|---|
Line 55: | Line 55: | ||
* [[https://www.youtube.com/watch?v=y_XvR_NCjQA|Video Demonstration of Shooter Mode]] | * [[https://www.youtube.com/watch?v=y_XvR_NCjQA|Video Demonstration of Shooter Mode]] | ||
* [[https://www.youtube.com/watch?v=s7QPsCfhY-w|Video Demonstration of Continuous Mode]] | * [[https://www.youtube.com/watch?v=s7QPsCfhY-w|Video Demonstration of Continuous Mode]] | ||
- | * [[https://en.wikipedia.org/wiki/Insertion_sort| Wikipedia page on insertion sort.]] | + | * [[https://en.wikipedia.org/wiki/Insertion_sort|Wikipedia page on insertion sort.]] |
- | * [[https://courses.cs.vt.edu/~csonline/Algorithms/Lessons/InsertionCardSort/index.html|Tutorial of insertion sort using cards.]] | + | |
* [[https://en.wikipedia.org/wiki/Selection_sort|Wikipedia page on selection sort.]] | * [[https://en.wikipedia.org/wiki/Selection_sort|Wikipedia page on selection sort.]] | ||
- | * [[https://courses.cs.vt.edu/csonline/Algorithms/Lessons/SelectionCardSort/selectioncardsort.swf|Tutorial of selection sort using cards.]] | ||
---- | ---- | ||
Line 70: | Line 68: | ||
* lasertag/detector.h | * lasertag/detector.h | ||
* lasertag/main.c | * lasertag/main.c | ||
- | * support/bufferTest.h | + | * lasertag/support/bufferTest.h |
- | * support/bufferTest.c | + | * lasertag/support/bufferTest.c |
- | * support/runningModes.h | + | * lasertag/support/runningModes.h |
- | * support/runningModes.c | + | * lasertag/support/runningModes.c |
You are expected to create and implement the following files. See the provided header files (.h) for a description of each function. | You are expected to create and implement the following files. See the provided header files (.h) for a description of each function. | ||
Line 282: | Line 280: | ||
==== 1. Detector Isolated Test ==== | ==== 1. Detector Isolated Test ==== | ||
- | You will write ''detector_runTest()'' and demonstrate its operation to the TAs. | + | You will write ''detector_runTest()'' and demonstrate its operation to the TAs. Interrupts are not enabled for this test. |
- | ''detector_runTest()'' will test your hit detection algorithm using the isolated test described below. As a suggestion, organize your hit detection algorithm into a local sub function named ''hit_detect()'' so it can be called by the test. This sub function would also be called by ''detector()''. | + | ''detector_runTest()'' will test your hit detection algorithm following the steps described below. As a suggestion, organize your hit detection algorithm into a local sub function named ''hit_detect()'' so it can be called by the test. This sub function should also be called by ''detector()''. |
=== Isolated Test Details === | === Isolated Test Details === |