Quote:
Originally Posted by Mark McLeod
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.