View Single Post
  #2   Spotlight this post!  
Unread 01-02-2011, 14:08
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Autonomous & Ultrasonic Rangefinder

Don't understand what you were saying. What do you mean by "sorta jumps or pulses"? Looking at your code, you have two ultrasonic sensors. The first thing come to mind was they could interfere each other (i.e. one of them pinged and the other one picked up the echo). But searching through the code, I don't see the ultrasonic sensors being used, at least not controlling any of the driving. They were instantiated but never used except in print statements. Did you mean the numbers printed on the LCD are jumping? If so, it could be due to the two interfere with each other.
__________________
Reply With Quote