View Single Post
  #1   Spotlight this post!  
Unread 16-02-2015, 18:45
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: CAN Talon Does Not Move in Speed Mode

Section 17.5 of the TALON SRX Software Reference Manual lists the throttle range as -1023 to +1023. A throttle of -19 is very, very small--less than 2%. You might need to increase the P value.

Note that the speed value is in encoder counts per 100 milliseconds. You will need to convert from RPM (or whatever speed units you use) based on the number of encoder counts per revolution. Note also that the encoder is always read in 4x mode, so a 250 cycle per revolution encoder is actually 1000 counts per revolution.
Reply With Quote