Wednesday, December 4, 2013

Final Project Process 4 - Rangefinder mess & sort of success

After almost two weeks of fiddling with the rangefinders and the wave shield before and after the Thanksgiving break, trying to make one work with the other and sometimes just trying to get the rangefinders to work, WE GOT IT! ....sort of. The rangefinder now works with the wave shield, so a message plays when it gets below a certain measurement. In our code, we set it to be less than 15 inches so it would play with any trip under that amount. The problem is that it only plays when your hand is moved away from the sensor. Put your hand over the sensor and it becomes stuck, rummaging through the same play sequence over and over and over again in an extremely fast pace that you can't hear. With Katerie's awesome help, we tried multiple things to try and kick the loop out while the message is being played such as various delays, booleans, etc. Nothing seemed to really work the way we wanted it to. We'll continue to work on this and try to find a way to stop or pause the rangefinder so the message can play in its entirety.

Look at our pretty code...












No comments:

Post a Comment