
02-09-2011, 02:36 PM
|
|
National Instruments
AKA: Joe Hershberger
 FRC #2468 (Appreciate)
Team Role: Mentor
|
|
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
|
|
|
Re: VEX Ultrasonic Sensor
Quote:
Originally Posted by virtuald
Joe,
We had the assert error with the vex sensors in the prior WPILib release, but the current WPILib release no longer asserts. Which is good
However, for some reason our sensors work inconsistently -- most of the time they read 120 or 249 -- but if I put my hand right in front of it, then it will read a few inches.. maybe out to 5 inches or so before it jumps back to 249. I'm hoping it's a wiring problem (it worked at first with the previous version, but then it started exhibiting the 120/249 behavior and I couldn't get it to work correctly), but maybe not.
|
That type of behavior is usually caused by the sensor not seeing a reflection.
|