View Single Post
  #8   Spotlight this post!  
Unread 09-02-2011, 14:36
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: VEX Ultrasonic Sensor

Quote:
Originally Posted by virtuald View Post
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.
Reply With Quote