I am printing out the value of a rotation sensor in the code below. In the first iteration, it displays the value as 0, and then jumps to some value in the thousands, staying at that value as long as the robot is not moved. rotation_sensor3 is the variable representing the rotation sensory that I am calling. This entire thing is run in initialize.
When it prints to the console, it prints a value of 0, and then a value in the high thousands and stays at that value. Can somebody help?