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

@@ -30,8 +30,9 @@ RobotBase &RobotBase::getInstance()
* This must be used to ensure that the communications code starts. In the future it would be
* nice to put this code into it's own task that loads on boot so ensure that it runs.
*/
RobotBase::RobotBase() {
m_ds = DriverStation::GetInstance();
RobotBase::RobotBase()
{
m_ds = DriverStation::GetInstance();
}
/**
@@ -39,7 +40,9 @@ RobotBase::RobotBase() {
* This includes deleting all classes that might have been allocated as Singletons to they
* would never be deleted except here.
*/
RobotBase::~RobotBase() {}
RobotBase::~RobotBase()
{
}
/**
* Determine if the Robot is currently enabled.
@@ -83,7 +86,7 @@ bool RobotBase::IsOperatorControl()
*/
bool RobotBase::IsTest()
{
return m_ds->IsTest();
return m_ds->IsTest();
}
/**