View Single Post
  #4   Spotlight this post!  
Unread 29-03-2010, 20:50
sparks-1784 sparks-1784 is offline
Lance Stronk
FRC #1784 (Litchbots)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Litchfield, CT
Posts: 46
sparks-1784 is on a distinguished road
Re: Autonomous Independent

Well - I am stumped (not that unusual). For autonomous independent, I put a while loop around the solenoid logic (for the kicker - kicks and automatically returns) while also includes a DIO read for an optical sensor that will trigger the solenoid logic to kick when a ball breaks the optical sensor beam. Within the while loop, I also have the watchdog delay and feed. There is no delay input, and I am 'feeding' the watchdog every 20 mS. I am not feeding the error cluster of the watchdog to any of the other vis (solenoid, DIO, etc) since I want the solenoid logic to run all the time.

It appears that the autonomous code is not looping within the while loop. The sensor never trips the solenoid kicker. Any hints?
__________________
Lance
Reply With Quote