View Single Post
  #48   Spotlight this post!  
Unread 05-02-2012, 22:25
MAldridge's Avatar
MAldridge MAldridge is offline
Lead Programmer
AKA: Rube #1
FRC #0418 (LASA Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Austin
Posts: 117
MAldridge will become famous soon enoughMAldridge will become famous soon enough
Re: Near-death experiences or injuries during build season?

ONLY coding mistake I will ever admit to:

In 2011 (Logomotion) I was working on some line following code. I was having a problem with some latency in the system tripping a watchdog and so *ahem* removed the safety thread that handles timeout functions. (For those interested, it is in the advanced pallet under motors) I told everyone to stand clear, and hit enable. By the time I got over to where the E-Stop had fallen, it had run over one mentor and penned a student against a wall.

Eventually, I discovered that it was a case of a misplaced decimal that was sending the robot into an undefined state. Now, I have learned why most teams put their robot on blocks while testing new code.
__________________
'Why are you a programer?' --Team Captain
'Because the robot isn't complicated enough!' --Me
Reply With Quote