View Single Post
  #1   Spotlight this post!  
Unread 25-03-2008, 14:29
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 181
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Angry Too many (If, Else If) statements?

Hey all!

I've been trying to make a better autonomous before our next regional. Since it's a day away, i've started to panic even more!

I've been using Kevin Watson's IR code, with a few additions to take commands and store them into the EEPROM. Once the commands are stored in the EEPROM, I have about 10 If/Else If statements to give our autonomous routine its desired waypoints.

Once I loaded my code via IFI Loader, the program light was STILL blinking! My code never entered the user teleoperated routine.

Later, I tried removing a few of the If/Else If statements, and I was left to TWO If/Else If statements. I compiled and loaded the code, the robot entered the user teleoperated routine with no problem.

Could I be edging on the side of overloading our IFI RC? Is there a way to get around this issue?

Thank you in advance!