Quote:
|
Well, I wouldn't be all that surprised by that flickering.
|
It would make sense for the inputs of the encoders to flicker, but every single input flickers, even if nothing is plugged into it. It is seemingly random. I couldn't even get a limit switch to work properly.
I added this line of code to the teleoperated loop:
Code:
dashboard.Printf("Distance: %f\n", encoder1.GetDistance());
On the dashboard it always says "Distance: 0.0000000" no matter what I do with the encoder.