View Single Post
  #5   Spotlight this post!  
Unread 16-03-2011, 21:21
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Re: Please Review My Autonomous Codes

Quote:
Originally Posted by Greg McKaskle View Post
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
Hey Grey,
Yes, I want the robot to first follow the lines, then raise the arm once the robot reaches the T. I have my autonomous code posted at this link. http://www.chiefdelphi.com/forums/sh...=check+my+code
Reply With Quote