|
Strange IR sensor movement with default tracker code
Hey,
I have been fighting with the default IR sensing code (both frc_tracker and navigate) for the last couple of weeks, and I just cant seem to figure out whats wrong. I have set up the IR sensors the same way Kevin has on his page and read through all the comments in the code related to how to plug in the IR sensors/PWMs. The problem comes when I try and run the code. If the emitter is turned off, both servos turn in unison looking for the beacon (exactly the way they should), but then when I turn it off, any number of things can happen. Sometimes nothing happens, and its like the beacon is non-existent (I have set it to both field settings), sometimes one sensor stops and looks at it (just like it should), but the other one keeps turning, and sometimes one or both of the servos slows down, but keeps trying to find it.
I have shown it of the engineers who have been helping out our team, but none of them can come up with a solution, and the only thing I can think of is that I killed one of the receivers when I was soldering it (it was the second thing I ever touched a soldering iron to).
Has anyone had this problem or know what could be causing it?
Your help would be much appreciated by all of 865!
Thanks!
__________________
Help Microsoft stop piracy. Use Linux!
I have three gmail invitations, message me if you want one
|