I'm supposed to be programing a motor that will start to turn when i push a button then when it reaches a encoder value it stops. Our team is using analog encoders if that makes a diffrence.
Go to Solution.
What type of drive are you using? (Tank, Mechanum, Swerve)
Are analog encoders attached to all the wheels?
Are you using Talon SRX or another motor controller?
Do you have a Gyro sensor on your robot (It is easier to use for rotating to angle).