Remove kDefaultPeriod from IterativeRobot (#232)

* Remove kDefaultPeriod from IterativeRobot

* Remove period

* Remove NextPeriodReady
This commit is contained in:
Austin Shalit
2016-10-09 16:58:30 -04:00
committed by Peter Johnson
parent 4896a77c86
commit 27bf94fd06
4 changed files with 11 additions and 107 deletions

View File

@@ -8,7 +8,6 @@
#pragma once
#include "RobotBase.h"
#include "Timer.h"
/**
* IterativeRobot implements a specific type of Robot Program framework,
@@ -45,13 +44,6 @@
class IterativeRobot : public RobotBase {
public:
/*
* The default period for the periodic function calls (seconds)
* Setting the period to 0.0 will cause the periodic functions to follow
* the Driver Station packet rate of about 50Hz.
*/
static constexpr double kDefaultPeriod = 0.0;
virtual void StartCompetition();
virtual void RobotInit();