RoboRealm Process Second Version

Calculating distance now seems to be working. We are usually within a foot with the calculations. However, it doesn't work if we try it on the tape on the left side of the field. We also need to figure out how to detect hot zones.
RoboRealm Vision Processing 3

We fixed an issue regarding the code crashing when the tape was blocked. Our next goal is to send distance to the cRIO and display it on the dashboard. We also have to fix the division by zero error.
RoboRealm Vision Processing 4

Stuff works. We display the distance on the SmartDashboard. The variables Distance, BLOB_COUNT, and HotStatus are sent via Network Tables. BLOB_COUNT and HotStatus basically do the same thing, but HotStatus may be more convenient. If it is = to 0, no tape/blobs are seen, if it is = 1 one piece of tape is seen. If HotStatus is = 2 that means the goal is hot as it senses two blobs, which have a very high probability of being both pieces of tape.