Fix many errorprone warnings (#1247)

This fixes two real bugs:
- TimedRobot had a m_period that was hiding the IterativeRobotBase m_period
  and was not getting initialized.
- PDPSim was swapping two parameters to getCurrent()
This commit is contained in:
Peter Johnson
2018-07-29 16:47:22 -07:00
committed by GitHub
parent 6db5f80430
commit 0e9172f9a7
28 changed files with 50 additions and 43 deletions

View File

@@ -52,9 +52,6 @@ class TimedRobot : public IterativeRobotBase, public ErrorBase {
// The absolute expiration time
double m_expirationTime = 0;
// The relative time
double m_period;
/**
* Update the HAL alarm time.
*/