My team is using Potentiometer for Auton Selection. They ran few tests with the Potentiometer and noticed that the percentage value readings Pot.value(vex::percentUnits::pct) for the rotation on the shaft are off from the expectation. Please see attached for values read for the shaft rotation. Can someone help how to fix this?
The potentiometer only has a range of motion a little larger than 3pi/2. If you rotate a gear in the potentiometer, you will feel some resistance at a certain point. Continue to turn and the values will reset.
Your potentiometer is broken. They have internal stops to prevent them from turning beyond their sensor range, but those stops are easily destroyed by high torque robot mechanisms if you don’t pay attention to where they are positioned.