View Single Post
  #6   Spotlight this post!  
Unread 02-03-2016, 14:19
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,040
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Bang-bang using Talon-SRX and PID for a Shooter


Bang-bang can be a good solution to shooter wheel speed control, but if you're using the SRX via CAN with the encoder plugged into the SRX, I'd say definitely use the SRX's built-in PIDF speed control, which updates at 1KHz (far faster than roboRIO does PID).

Quote:
Originally Posted by cjl2625 View Post
when it got up to speed, the motor started making nasty noises when flickering on and off
I've heard this happen when the motor controller was set to brake mode. Another possible reason: to much free play between motor shaft and wheel (gearbox, chains, etc). See this post.



Last edited by Ether : 02-03-2016 at 14:27.