View Single Post
  #4   Spotlight this post!  
Unread 17-03-2003, 10:54
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
agreed

Based on our experience, I agree that comp_mode is going low for at least one cycle before auton_mode is going high.

We used slot 0 to set up a master variable list, initialize the relay outputs, and initialize the master uP. After that it just sat in a loop until either comp_mode and auton_mode were low, or auton_mode went high. The problem we had was that comp_mode went low before auton_mode, which ran the teleoperation code instead of one of the autonomous programs.

For the first few matches it just sat there and we couldn't figure out what was wrong. After I moved the autonomous selection stuff to the OI program it worked fine.