We are new to RobotC this year, so there’s a lot I don’t understand.
We have 2 quad encoders on the front wheels of our chassis. We download the program, bring up the debugger window, and run auton, so we can see the encoder values as it’s running.
We are getting bizarre readings, and I don’t know what’s happening or if I just don’t understand what I’m seeing. In the debugger window when we run auton, the encoder values will just jump all over the place, even jumping often from positive clicks (correct) to negative, and the rest of the time jumping up & down. This happens on both chassis encoders when I watch them in the window.
One thing that boggles my mind more than these readings is that driving using encoder clicks (while encoder < xxx) actually works.
So my question is about the debugger window. I was expecting that we would see continuously increasing values as the robot drives along. We do see this behaviour in the debugger window when we just move the wheels manually. Is there something that I don’t understand about the debugger window? Should I expect to see values that make sense in this window?
Thanks.