|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#19
|
||||
|
||||
|
Re: Feedback Thread: WPILib
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!");
}
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Feedback Thread: Driver Station and Dashboard | Greg McKaskle | FRC Control System | 10 | 13-10-2010 23:26 |
| WPILib in Dev C++ | mikelowry | C/C++ | 2 | 22-09-2009 10:41 |
| Importing WPILib? | lingomaniac88 | C/C++ | 1 | 12-01-2009 20:39 |
| Using WPILib | RyanW | Programming | 1 | 19-01-2008 17:15 |