Add DisabledInit to C++ Command Based template. Move and modify comment on Java version. Fixes artf3840

Change-Id: I2371fc9cf64588e38f35b17715773604df6c2392
This commit is contained in:
Kevin O'Connor
2015-06-02 10:00:34 -04:00
parent 1e4e0bacde
commit 5a094879b6
2 changed files with 18 additions and 8 deletions

View File

@@ -16,6 +16,15 @@ private:
lw = LiveWindow::GetInstance();
}
/**
* This function is called once each time the robot enters Disabled mode.
* You can use it to reset any subsystem information you want to clear when
* the robot is disabled.
*/
void DisabledInit()
{
}
void DisabledPeriodic()
{
Scheduler::GetInstance()->Run();