View Single Post
  #15   Spotlight this post!  
Unread 12-03-2012, 17:46
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Auto Code NOT Running (as expected)

Quote:
Originally Posted by Ether View Post
The output of your feedback node in that snippet never changes.
Nor is it supposed to. If I recall correctly, the OP wanted something to do with total time elapsed since the start of auto mode (i.e. drive motor A for 7 seconds, then turn it off). The snippet will calculate the total time elapsed since the first iteration (not the time elapsed since the previous iteration, which is what I think you interpreted it to be). Make sense?

However, I probably could have phrased my explanation of the code better. Saying change in timer value probably implied change over one iteration, rather than over total execution. I intended the latter.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote