Thread: Shooter Problem
View Single Post
  #7   Spotlight this post!  
Unread 14-01-2013, 15:34
Woolly's Avatar
Woolly Woolly is offline
Programming Mentor
AKA: Dillon Woollums
FRC #1806 (S.W.A.T.)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Springfield, MO
Posts: 512
Woolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond repute
Re: Shooter Problem

Quote:
Originally Posted by Ether View Post
Seriously? Are you saying there was some visible or audible manifestation?

If so, check the following and fix if necessary:

- make sure the motor controller jumper is in the "coast" position (not "brake").

- make sure you are running the control loop fast enough (10 ms is good)

- make sure your sensor is capable of giving an up-to-date speed reading faster than your control loop iteration rate




I didn't know what I know now when I made that control loop last year, and I just dropped it in autonomous and teleop. Obviously a case of it not running fast enough. Still, even our poor bang-bang controller was better than a PID for this application.
__________________


Team 1806 Student: 2012-2013 | Mentor: 2013-Present