View Single Post
  #8   Spotlight this post!  
Unread 09-04-2014, 13:50
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: How to loop peices of code forever?

Quote:
Originally Posted by Spacemonkey619 View Post
...I think you misunderstand what i meant.
I think your description of what you want is unclear. You're using the phrase "loop forever", but you also say you want to "run it once more and stop". What is it that you want the robot to do repeatedly -- is it the entire process of shuttling along the line moving boxes from one end to the other? Will you ever want to give any other commands besides "start" and "stop after you drop the next box"?