View Full Version : Teleop Periodic vs Teleop Continuous
ninjosh97
17-01-2014, 22:50
What is the difference between Teleop Periodic and Teleop Continuous?
Which should I use for say... my drivetrain code?
Thank ya much!
Domenic Rodriguez
17-01-2014, 23:12
TeleopPeriodic is called at a regular interval (about every 20ms), synchronized with the Driver Station packets. TeleopContinuous is called repeatedly as quickly as possible. Use of TeleopContinuous is deprecated; you should use TeleopPeriodic instead.
Correction: As stated below, TeleopContinuous is not deprecated, but removed. You should still use TeleopPeriodic.
RufflesRidge
17-01-2014, 23:15
Use of TeleopContinuous is deprecated;
Deprecated usually implies that it still works. TeleopContinuous has been removed from the IterativeRobot base class and won't be called by anything even if you put code in it.
ninjosh97
19-01-2014, 13:03
Thanks everyone!
Joe Ross
19-01-2014, 14:08
Where did you read about the continuous methods? Sounds like there's something that should be updated.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.