Go to Post There is a very fine line between passion and emotion, sometime it gets crossed. Let's not confuse the two. - JohnBoucher [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 19-03-2003, 21:36
randomperson's Avatar
randomperson randomperson is offline
Assembler Freak
#0904
Team Role: College Student
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Wyoming,MI
Posts: 100
randomperson is an unknown quantity at this point
Send a message via AIM to randomperson Send a message via MSN to randomperson
Question 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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Date for Cedar Point Gathering Erin Rapacki General Forum 7 17-05-2003 22:42
Video of 510 point round... archiver 2001 3 24-06-2002 01:57
FIRST @ The Point...Who's Going? archiver 2000 0 23-06-2002 23:24
Cedar Point Anyone? archiver 2000 9 23-06-2002 23:21
What's the point of going to Nationals? Ken Leung General Forum 10 08-10-2001 10:12


All times are GMT -5. The time now is 00:07.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi