Quote:
Originally Posted by Ether
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.