Quote:
Originally Posted by GeeTwo
With a 50Hz rep rate, you get 200ms to do what you have to do. With a 200ms rate, you only get 50ms.
|
20ms and 5ms, respectively.
The roughly 50Hz loop in *Periodic() is called every time you receive a driver station packet. This is great for mapping gamepad inputs to speed controllers and solenoids, but not great for doing timing-sensitive things like PID control.