View Single Post
  #4   Spotlight this post!  
Unread 15-03-2011, 23:00
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Please Review My Autonomous Codes

If I understand what your idea, you want to move the arm independently and begin the loop that follows the line.

My suggestion would be to use timers, relays, and a sequence structure to do the arm in parallel with the line follower code. Put code after the line follower loop that will reverse the relay for some time, release the tube, and drive away.

I know that isn't a ton of detail, but start with the initial stuff and once it works, add the next element in. Once you get started, I think the sequencing will become more obvious.

Greg McKaskle
Reply With Quote