View Single Post
  #4   Spotlight this post!  
Unread 27-01-2017, 21:59
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 146
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Quote:
Originally Posted by Mark McLeod View Post
Teleop needs to complete faster than 20ms.
You can check this using the Elapsed Times.vi provided under support in the project tree.

Drop it into Teleop and open the front panel of Elapsed Times to watch, then run debug from Robot Main. You'll get how long it takes Teleop to run.

Normally you should put complete, time consuming tasks somewhere other than Teleop.
Usually Periodic Tasks.vi is a good choice.


I'm pretty sure it completes within 20ms, but I should probably check.
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
Reply With Quote