How about more use of the semaphore notification lists (in Axis camera, they "fire an event" when a new image is received)
some areas where that would be nice:
DS new Data
DS send data (dashboard)
limit switch/digital input
It would be helpful if there was a class for these semaphore events (how about SemaphoreEvent?).
It would also be nice if the simple robot (which need a better name, IMO) was threaded, and you could tell it to kill auto if it is taking too long:
Code:
class myrobot:public betternameforsimplerobot
{
//..
myrobot()
{
this->killAutoifItRunsTooLong=true
}
void Auto()
{
while(true)
{
printf("Bwa ha ha! You are stuck in an infinite loop!");
}
}