Hello -
I’m trying to get our potentiometer to work. This potentiometer did not come in any FRC kit of parts, it’s just one we had laying around.
We’ve got it going into Analog Input 2. When in the drivers station, we see the voltage change on Analog Input 2 as we turn the shaft of the potentiometer.
Now, I’ve been trying to get the $@#$@#$@#$@# thing to display the angle, but it just won’t work with me. Here’s where I open it in begin.vi.
For some reason, it won’t take the analog channel.
Now, here’s what I have for teleop.
This just takes the voltage and turns it into an angle based on the conversion factor of 0.01388 volts per degree. It then flattens it and sends it off to the drivers station where it’s unflattened and thrown into a numeric display.
Any help? Thanks.