This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' Jeremy's test script - 28 Mar 2020. | |
It creates two threads and waits for both to finish before presenting the results. | |
Each thread generates random data, but data that is similar to what is expected from the sensor devices. | |
The results are added to the queue, removed, then presented to the user. | |
Not completed: writing to ''' | |
import queue, threading, time, random, math, numpy, sys |