|
Encoder problems
Today I was working on the KOP optical encoders and under no circumstances could I get them to work. I placed the Open encoder and the Set encoder function outside the teleop loop and the Get encoder function in the execute case. This setup worked for my other sensors and I know the encoder works. What am I missing? See code attached.
Last edited by Pausert : 16-01-2010 at 18:28.
Reason: Added code.
|