View Single Post
  #1   Spotlight this post!  
Unread 06-02-2016, 17:06
moomoomoo309 moomoomoo309 is offline
Registered User
FRC #0224
 
Join Date: Jan 2016
Location: Piscataway
Posts: 9
moomoomoo309 is an unknown quantity at this point
Vex Ultrasonic Range Module

We tried finding distance using this module, and after connecting it correctly, it keeps either not working (isRangeValid() is false, returns 0 on getRangeInches() and getRangeMM()) or returning infinity (isRangeValid() is true, returns Double.POSITIVE_INFINITY (the infinity symbol) from getRangeInches() and getRangeMM()). Has anyone else had luck getting one of these working in Java? It's hooked up to the DIO ports currently.

Last edited by moomoomoo309 : 06-02-2016 at 17:10.
Reply With Quote