|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: How to program Talon SRX Encoders?
Ok it look right now... but how would I program the motor to only go 'X' amount of rpm.
|
|
#2
|
||||
|
||||
|
Re: How to program Talon SRX Encoders?
Quote:
|
|
#3
|
||||
|
||||
|
Re: How to program Talon SRX Encoders?
Thanks Ether for that great refernce but what they show what to do goes against what others and the frc tutorial shows. If I am correct then I would need to define and encoder in my code which the CTR manual doesn't.
|
|
#4
|
||||
|
||||
|
Re: How to program Talon SRX Encoders?
First let me make sure about some things I am assuming but which you have not explicitly stated. You are using TalonSRX motor controller, yes?If so, refer to paragraph 3.2 in the Software Reference Manual |
|
#5
|
|||
|
|||
|
Re: How to program Talon SRX Encoders?
I believe you can set the number of counts per revolution if that's what you're looking for. just use
motor.configEncoderCodesPerRev(insert desired counts per rev) |
|
#6
|
||||
|
||||
|
Re: How to program Talon SRX Encoders?
I beileve I have figured it out last night when I was working if not I will be back with questions. Thanks
|
|
#7
|
||||
|
||||
|
Re: How to program Talon SRX Encoders?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|