View Single Post
  #14   Spotlight this post!  
Unread 22-03-2011, 16:51
Owen Meaker Owen Meaker is offline
Registered User
FRC #4180
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kent, Washington
Posts: 17
Owen Meaker is an unknown quantity at this point
Re: Programming goofs!

This year, my autonomous code was very buggy. In the first match of the day, we were up, and I got to test my code for the first time. Turns out I had inverted the the Y axis, and the robot crosses the center line and gets a penalty. While that was a simple fix, the code was unreliable the rest of the competition. It is supposed to drive foward while lifting the arm, then move the arm down, release the tube, move the lift down, and back up. However, sometimes the lift would never rise, sometimes it would go up and down before the robot had finished moving forward, and sometimes it would only lift after it had released the tube. We managed to score once on both the bottom and middle pegs, and never had it go to the top pegs like it was supposed too. I ended up removing the code for quarterfinals, as the risk of damaging the claw or getting a penalty was too high.