View Single Post
  #14   Spotlight this post!  
Unread 05-02-2017, 13:46
gbear605's Avatar
gbear605 gbear605 is offline
Scarebear
FRC #1768 (Nashoba Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: United States
Posts: 37
gbear605 is an unknown quantity at this point
Re: How do you shoot so fast?

Quote:
Originally Posted by wireties View Post
The Talon closes the loop much faster than the roboRio WPI classes (by default). I think the Talon is nearly 10X faster. The 100ms comes up because the Talon counts pulses per 100ms instead of pulses per second - my guess is they do it to make the internal integer math easier. But, for sure, the 100ms thing has zero to do with how fast the Talon's close the loop.

HTH
According to both the documentation and CTRE, the Talon control loop runs every millisecond. It is very possible to use the Talon for closed-loop code. I think you can apply the Cheesy Poof rule here: 254 uses closed loop velocity control on the Talons, so you can too.
Reply With Quote