Thread: Range Finder?
View Single Post
  #10   Spotlight this post!  
Unread 01-09-2014, 02:08
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: Range Finder?

Quote:
Originally Posted by Al Skierkiewicz View Post
Ultrasonic range sensors may give unpredictable results if aimed at the player station. The diamond plate gives unusual reflections.
Are the unpredictable results consistent with:

Quote:
Originally Posted by Nzoner View Post
The Ultrasonic sensor could not get a constant reading, and would often jump from 15ft to only a few inches which would triggers safeties and our launch system.
Our software team had similar spikes, and think that it is due to noise on the analogue signal.

Could those of you who used the Maxbotics sensors successfully provide some more info on how you did so? Which signal did you use (analogue/PWM/UART)? If you did anything non-trivial in reading the input (such as filtering), could you also provide some sample code?

We are also at a loss on how to read in the PWM signal (to get over the analogue noise above) directly into the cRIO (and probably roboRIO), if anyone has experience with reading in PWM signals it would be great to hear.
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube