This shows you the differences between two versions of the page.
|
milestone_3_task_3 [2023/03/09 12:44] scott [1. Detector Isolated Test] |
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 277: | Line 275: | ||
| To pass off your system to the TAs, you must do the following: | To pass off your system to the TAs, you must do the following: | ||
| - | - Demonstrate an isolated test of your detector (see instructions for the isolated test below). | + | - Demonstrate an isolated test of your hit detection algorithm (see instructions for the isolated test below). |
| - Demonstrate a system test of the entire laser-tag system as implemented thus far (see instructions below regarding shooter and continuous modes). | - Demonstrate a system test of the entire laser-tag system as implemented thus far (see instructions below regarding shooter and continuous modes). | ||
| - Run "./check_and_zip.py 390m3-3" to create a .zip file of your project. Submit only one .zip file per team. The TAs will give credit to both members of the team. | - Run "./check_and_zip.py 390m3-3" to create a .zip file of your project. Submit only one .zip file per team. The TAs will give credit to both members of the team. | ||
| ==== 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 === | ||