View Single Post
  #2   Spotlight this post!  
Unread 20-02-2003, 20:34
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
testing? oh.. you're supposed to test this stuff? I thought it would work every time flawlessly the first time around!

Actually.. our team built a prototype that handles fairly close to how the real robot handles, and of course since our robot has very few other feaatures besides driving its all good until we get to the competitions and discover that the robot's respond differently.. lol. And, of course we just use a switch to simulate autoomous mode...
__________________
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