Go to Post You wrote a PID control loop for your coach? Whoa. - meatmanek [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 04-02-2017, 13:14
Adnewhouse's Avatar
Adnewhouse Adnewhouse is offline
Registered User
FRC #0639
Team Role: College Student
 
Join Date: Jun 2013
Rookie Year: 2012
Location: Ithaca, NY
Posts: 21
Adnewhouse is an unknown quantity at this point
Re: How do you shoot so fast?

Quote:
Originally Posted by s_forbes View Post
The gist I get from the programming team is that the Talon SRXs only feedback velocity information from the encoders on a 100ms timeframe, so making a control loop respond to multiple balls per second is extremely difficult with that route. Running the encoder into the digital I/O ports on the rio lets you make your own control system that is more responsive.
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.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:42.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi