View Single Post
  #1   Spotlight this post!  
Unread 06-02-2014, 10:05
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Thread speed in C++

Hello! I'm writing a bunch of sample programmes to use as examples for teaching new programmers, and I'm currently working on PID. I know there's a PID class, but I would prefer to write my own as I have the capability. The PID loops I know of utilize time a lot, and tend to be a bit eccentric, so I was thinking of creating them in a separate thread (using the Task class). The thing I want to know is how fast threads execute. Is it 50Hz like the periodic methods or is it more akin to the discontinued continuous methods? Thanks!
Reply With Quote