View Single Post
  #17   Spotlight this post!  
Unread 30-03-2015, 12:09
WillNess's Avatar
WillNess WillNess is offline
Programmer
AKA: Will Ness
FRC #4944 (The Hi Fives)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: United States
Posts: 90
WillNess is just really niceWillNess is just really niceWillNess is just really niceWillNess is just really nice
Re: PID & One Second Delay Between Auto and TeleOp

Quote:
Originally Posted by GeeTwo View Post
The documentation isn't clear. Going back to the source code, it appears that the timer carries the "accumulated time" from a stop to a start, so if you want to zero the result of later get()s, you must do a reset(). (I'm presuming that the C++ and Java versions behave equivalently.)
Ok so if we implement something equivalent to this code, right before I start it I will do a timer.reset();
__________________

Outreach Lead // Lead Programmer // Junior

2014 FRC:
Rookie Allstar, Highest Rookie Seed & Semifinalist @ Utah
Rookie Allstar, Highest Rookie Seed & Semifinalist @ Colorado
2015 FRC:
Creativity In Engineering & Semifinalist @ Arizona West
Reply With Quote