View Single Post
  #1   Spotlight this post!  
Unread 18-04-2008, 21:59
3DWolf's Avatar
3DWolf 3DWolf is offline
Boots - Head Programmer / 3D
AKA: Jake
FRC #1502 (Technical Difficulties)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Chelsea Michigan
Posts: 97
3DWolf is on a distinguished road
Send a message via AIM to 3DWolf Send a message via MSN to 3DWolf
Silly Programming screw ups (funny)

Post any silly programming errors, screw ups, etc here that you've made either in season or at nationals

My biggest one so far:
Nationals:
I was coding some side code for our demo board to simulate our braking system, but the guys putting it together used a type of valve I hadn't coded before, and when I was messing with it I turned a simple toggle into something strange. I was calling the toggle (with a trigger on a joystick) on the main processor loop (the 26.2 ms one) without any checks.
I turned our single fire brake toggle - INTO A JACKHAMMER. This little 2 inch stroke cylinder was firing in and out at an insane speed.

Then I had accidentally set our autonomous values backwards the first time so we drove backwards during a practice match.
__________________
You can call it the programming teams fault, but we'll just force your arguments nil.

There are 10 kinds of people in the world -> Those who understand binary and those who don't.

WYSIWYG - In FIRST: Greatness