View Single Post
  #8   Spotlight this post!  
Unread 05-02-2017, 12:16
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 Adnewhouse View Post
If you use the built in pidf control on the talons themselves, your motor loop runs really fast. This is probably a better route than running it on your roborio. The software manual for the talons also suggests that you can change this 100ms can bus encoder update rate to be faster (can be set to 20ms), but you shouldn't need to use this at all. My recommendation is to add more mass on to your flywheel, and experiment with a feed forward gain term if you are using talonSRXs.
You can actually drop it all the way down to a single millisecond.

That said, I suggest using the TalonSRX Speed Control Mode. You can set FPID values that should be able to get it up to speed very quickly and very consistently. While all mechanical systems are different, we had a two-wheeled shooter without any flywheel that was speeding up after shooting a ball in less than a tenth of a second.
Reply With Quote