View Single Post
  #10   Spotlight this post!  
Unread 09-08-2012, 20:57
daniel_dsouza daniel_dsouza is offline
does what needs to be done.
FRC #2449 (Out of Orbit Robotics)
Team Role: Alumni
 
Join Date: May 2011
Rookie Year: 2011
Location: Chandler, AZ
Posts: 231
daniel_dsouza has a spectacular aura aboutdaniel_dsouza has a spectacular aura about
Re: default behavior for thread overrun

Quote:
Originally Posted by Ether View Post
If I had a requirement or an expectation* that a task should never overrun, I'd add runtime code to monitor and report it. I'd leave this code in place for all in-house testing and practice, and probably for competition too.
I had wanted to try this for next year (we had some issues where our robot was hung up waiting for an input), but I didn't know how effectively I could have code monitor other code without things running in parallel. I'm no expert about our control system, but I thought that only one thread runs a time.