View Single Post
  #6   Spotlight this post!  
Unread 14-09-2015, 21:55
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Regarding Loop frequency

Quote:
Originally Posted by GeeTwo View Post
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.