Fixed C++ side of artf2604 in FRCSim - synchronized C++ codebases, updated examples.

Change-Id: I2fdc9deb4c8e249448dcbda4214fd900c2bc4ea8
This commit is contained in:
Colby Skeggs
2014-06-24 10:37:02 -07:00
parent 02e19a0147
commit ff597e6ac4
72 changed files with 763 additions and 861 deletions

View File

@@ -10,7 +10,6 @@
#include "SmartDashboard/SmartDashboard.h"
#include "LiveWindow/LiveWindow.h"
#include "networktables/NetworkTable.h"
#include <unistd.h>
constexpr double IterativeRobot::kDefaultPeriod;
@@ -118,7 +117,7 @@ void IterativeRobot::StartCompetition()
}
if (NextPeriodReady())
{
// TODO: HALNetworkCommunicationObserveUserProgramDisabled();
// TODO: HALNetworkCommunicationObserveUserProgramDisabled();
DisabledPeriodic();
}
}
@@ -184,7 +183,7 @@ void IterativeRobot::StartCompetition()
}
}
// wait for driver station data so the loop doesn't hog the CPU
m_ds->WaitForData();
m_ds->WaitForData();
}
}