View Single Post
  #13   Spotlight this post!  
Unread 13-12-2015, 23:58
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 243
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
Re: Command based code secan

Quote:
Originally Posted by Joe Ross View Post
Your picture for #1 is correct, for that command only. #2 is not correct, because isFinished will not run while execute is still running. In addition, it will also delay the execution of every other command. You could think of it as there only being a single clock, and any command method can stretch the clock.
We are getting somewhere now. I shifted the isFinished() to after execute() completes and before the next iteration of execute(). Also attempted to depict the second command and how it would be effected by other commands methods taking longer than one period on the second part "Special Conditions". Take a look.
Attached Thumbnails
Click image for larger version

Name:	Command Period 3.JPG
Views:	9
Size:	176.5 KB
ID:	19552  
Reply With Quote