FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Stop motor movement when it reaches a specific encoder value

Solved!
Go to solution
Highlighted

Stop motor movement when it reaches a specific encoder value

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.

0 Kudos
Message 1 of 2
(532 Views)
Solution
Accepted by topic author we516waeg651aweg165aweg
02-23-2017 11:44 AM

Re: Stop motor movement when it reaches a specific encoder value

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).

 

 

 

 

0 Kudos
Message 2 of 2
(494 Views)