Quote:
|
Originally Posted by Texan
I want to know everyone's opinion on threading. Would you like to have the ability to create threads for the RC, or are you happy with the way the things are now?
(For those of you who don't know, having threads is a way of allowing mutiple things to be happening in your code at the same time and independently.)
|
Since the current controller supports timer interrupts, you could code a simple OS to do pre-emptive multi-tasking and have prioritized threads that way.
Really, I doubt anything is stopping you, other than having capable programmers to be able to deal with concurrency issues. I wouldn't however make threads available by default though. With 6 weeks to build, I know that I would much rather spend my time getting the robot working rather than fighting with concurrency =).
Which means my vote is for keeping them the way they are.