![]() |
Timing in Simple Robot
How can I create timed loops using the SimpleRobot? The teleop code in SimpleRobot seems to run as fast as it can, while the IterativeRobot is throttled at 200Hz.
Right now we have tried something like this, but would rather make this work with the SimpleRobot PHP Code:
|
Re: Timing in Simple Robot
You can use the Timer class included in WPILib to get the number of seconds, returned as a double, since you called the Start() function of the class.
|
| All times are GMT -5. The time now is 02:29. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi