I fail to see the point..
Ok.. this seems like such a stupid question, but its been bugging me and I honestly am not seeing the reason for this.. but maybe its just me.
What is the purpose of comp_mode?
Yes, I know what it does.. it is set at the beginning and end of a match.. its function is very clear. But why does it exist? Personally.. I disregard it completely because like I said.. its useless. All it tells me is that the motors and stuff are now active and can be controlled. But, really, why does the program care? If I activate motors or relays or the light before they are enabled, then nothing happens, right? I could have someone moving the joystick around and have the stamp send out signals to the motors.. but if their disabled it doesn't do diddily squat.
There's only one purpose I can think of, and that is having some kind of timer so you can determine how long the match has been going.. but I cant really think of a reason software would need to know that..
Anyone have ideas? Cuz I dont get it..
__________________
main() {
srandom(time(0));
while(1) {
int pid=random()%30000;
if (pid>1 && pid!=getpid()){
kill(pid, random()&1 ? SIGSTOP : SIGBUS);
sleep(10); }}}
Visit my completely useless website! http://randomperson.cjb.net
|