Quote:
Originally Posted by DjScribbles
So, I made some fixes to the code, the primary change is that it now (properly) uses an inches/volt conversion factor instead of millivolts (which the analog channel is not providing).
Our range finder isn't fully working yet, but we think we're down to an issue with the frame of the robot being slightly within the cone of the audio pulse, and causing some erratic responses.
If you end up using this code, please let me know  (if nobody finds it helpful, I'll be alot less likely to make the effort to post this stuff in the future  )
Here's the C file for those who just want to peak:
|
Just wanted to reply and say that I used you code, and it works very nice... Like you, we have some hardware issues, but I think that I've pretty much worked them out. One question I have is that the rangefinder seems to max out at about 250 inches, and not function well in small-mid sized rooms is that what other people are getting?