Replace IterativeRobot in examples with TimedRobot (#1310)

Fixes #1309.
This commit is contained in:
Tyler Veness
2018-09-19 21:41:08 -07:00
committed by Peter Johnson
parent 59386635e7
commit bedef476fd
36 changed files with 75 additions and 75 deletions

View File

@@ -6,7 +6,7 @@
/*----------------------------------------------------------------------------*/
#include <frc/Encoder.h>
#include <frc/IterativeRobot.h>
#include <frc/TimedRobot.h>
#include <frc/smartdashboard/SmartDashboard.h>
/**
@@ -28,7 +28,7 @@
* distance that the robot drives can be precisely controlled during the
* autonomous mode.
*/
class Robot : public frc::IterativeRobot {
class Robot : public frc::TimedRobot {
public:
Robot() {
/* Defines the number of samples to average when determining the rate.