Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Finding problems too late (http://www.chiefdelphi.com/forums/showthread.php?t=84466)

Radical Pi 21-03-2010 22:09

Re: Finding problems too late
 
Quote:

Originally Posted by pfreivald (Post 940446)
In all robot code -- not just ours, but all robots from the coolest of automobile assemblers to the humblest of photocopiers -- there is a subroutine that we call 'Secret Subroutine C'. You cannot delete it, and you cannot in any way remove it, even by reformatting everything and starting over. The best you can hope to do is minimize (not prevent) the chances of it executing, and minimize the damage caused when it executes. It reads only one line, and roughly translated from machine code into English, it reads:

"Run amok and destroy your masters."

Oh, that happened to us once :P. One of our matches we lost connection to the cypress. I switched the controls over to the compatible mode to show our drivers what they could do if the cypress board failed again, and then I switched it back into cypress mode. I didn't realize the last guy hadn't disabled the bot, and that when the cypress is gone all of the inputs go high, so when I switched it all of the controls defaulted to on and suddenly our kicker starts spinning at full speed, the winch starts running, and the pneumatics to raise our arm activate. I disable it before the arm actually gets enough pressure to raise (something that can be very dangerous if you've seen our bot), but the mentors are instantly questioning me about how it could all activate on it's own. It takes a while for me to explain how I know the exact reason for it.

Oh, also when we were queuing for a match one of our guys bled the air from the pneumatics (I have no idea why) and forgot to close the valve. We spent that match mostly crippled, since our arm needs pneumatics, our kicker needs pneumatics as well, and all we can do is drive around. We promptly put a nice big sign next to the valve that says "close me". Next match? We forget to unwind our winch before the match and our arm gets stuck.

Jeff Pahl 21-03-2010 22:23

Re: Finding problems too late
 
Quote:

Originally Posted by yoshibrock (Post 940138)
I was just wondering if anyone else has stories of discovering problems too late, because it's nice to share silly mistakes and to learn from them.

You mean like when we were sitting on the floor of the hotel hallway Friday night eating pizza, and we started giving the driver a hard time because the robot was moving like it was under the control of a drunk driver about half the time, and his response was "it would help if when I turned the joystick to the left, the robot turned to the left instead of the right..." (We were using a 3-axis joystick, and turning the stick was supposed to turn the robot). We all looked at the programmer, whose only response was "oops" and then he disapeared to his room to fix the code.


All times are GMT -5. The time now is 13:09.

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