View Single Post
  #9   Spotlight this post!  
Unread 05-07-2016, 18:38
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 609
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: Good way to bring shooter to exact speed?

Quote:
Originally Posted by Tom Bottiglieri View Post
Use the Talon SRX in speed control mode. The update rate and onboard filtering is better than anything you'll be able to get in code running on the crio.
What if he decides to use a roboRIO?
Also: Is there a way to use the roboRIO's PID class or make a custom PID class that can do speed control?*

*Could you just use a generic PID controller and use the following piece of code? (As ratdude747 implied)
Code:
if(Motor_Speed<0){
Motor_Speed = 0;
}
Reply With Quote