View Single Post
  #11   Spotlight this post!  
Unread 08-03-2011, 22:57
DiscoKittyPrime DiscoKittyPrime is offline
Registered User
AKA: Joshua Bryant
FRC #0057 (Leopards)
Team Role: Programmer
 
Join Date: Dec 2010
Rookie Year: 2003
Location: Houston, Tx
Posts: 26
DiscoKittyPrime will become famous soon enough
Re: Programming goofs!

I am the lead programmer this year and I still made a stupid mistake that ended up costing us our minibot deployment. We have a limit switch at the end of our deployment that is wired to be normally closed and that is to become open once it contacts the pole. The code seemed to work and the mentors approved it. When we went to test he code, the arm deployed and hit the pole... and kept on pushing. It ended up pushing our robot forward, away from the pole, until three of the pulleys ripped off the arm and the cord itself snapped. We went back to look at the code and realized that we had forgotten to use the .Get() function. Luckily it was a quick fix and we had it working again by the end of that day.