Thread: autonomous
View Single Post
  #3   Spotlight this post!  
Unread 24-03-2012, 21:27
Jay1986's Avatar
Jay1986 Jay1986 is offline
Programmer and Driver
AKA: Jay Urban
FRC #1986 (Team Titanium)
Team Role: Alumni
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Lees Summit
Posts: 67
Jay1986 is a jewel in the roughJay1986 is a jewel in the roughJay1986 is a jewel in the roughJay1986 is a jewel in the rough
Re: autonomous

i wouldn't use sequence structures if I were you, you should use a line of while loops that ends and starts the next. In your first while loop you should reference everything that you are planing on using during autonomous. The next while loops would be your actions you want too happen. For advice, I would bundle all of the reference names together and pass that through the line of while loops and unbundle in each one. This makes code much cleaner and is needed to start the next loop. For an example autonomous, you should have your shooter speed up in the first loop and let it wait until its speed up, one that is hit, stop that loop and the next will start the first ball to shoot while continuing the shooter, then wait for it to speed back up and shoot your next ect.
__________________

2013 Oklahoma Regional (Regional Winner, Gracious Professionalism, [and judges voted me star of the day])
2013 KC Regional (Regional Winner, Woodie Flowers, Industrial Design)
2013 Hub City Regional (Regional Winner, Entrepreneurship, Quality, Dean's List)
Reply With Quote