Be sure to download the version 1.1 of my Python and Matlab listen and plotting codes. I have a zip file of all of the "v1" code here. The comments at the start of each file describe the modifications I've made to make the programs more robust to missed packets. The data formats have not changed, just how it reacts to a missed packet.
sudo ./listenSomeLinksTS_v1.py | tee HW2_2a.txt
(or "... | tee HW2_2b.txt" for part b). Incidentally, my node numbers are 5 and 6, and my channel numbers are 14,18,22, and 26. The linksToPlot is set to:
linksToPlot = [ (6,5,14), (6,5,18), (6,5,22), (6,5,26)]
Your job is to run your code and tell me what times I crossed the line between sensors. You need to tell me how many crossings, and at what time each crossing was. Slot number is the best way to describe time here -- each RSS measurement has a slot number associated with it. The slot numbers on each line are very close. Pick any slot time on the line in the text file at which you think that I was right in the middle of the line between the two sensors. Or, if you want, the average of the slot times on that line. I am telling you that I was NOT crossing the line during the first 1400 slot numbers in either experiment (so for example, in Experiment a, any slot number between 17036 and 18436 indicates a measurement taken with NO person on the link line).
Clearly, the through-wall experiment is going to have links that are non-line-of-sight and thus more likely to be in a deep fade. may use whatever algorithm you choose - your answer for question 1, or something you make up. You may use two different algorithms for experiments a and b. Describe your algorithm(s) if different from your answer for question 1, and turn in your plot of the score value (what your detector uses to decide if the line is crossed), your threshold, and the times at which you believe the links were crossed. It isn't fair to just guess, or to answer that the links were crossed at some times at which your score is not above your threshold.