formatting
parent
2cbc02c3bb
commit
11be5085b5
|
@ -16,9 +16,7 @@ void Robot::RobotInit() {}
|
||||||
* <p> This runs after the mode specific periodic functions, but before
|
* <p> This runs after the mode specific periodic functions, but before
|
||||||
* LiveWindow and SmartDashboard integrated updating.
|
* LiveWindow and SmartDashboard integrated updating.
|
||||||
*/
|
*/
|
||||||
void Robot::RobotPeriodic() {
|
void Robot::RobotPeriodic() { frc2::CommandScheduler::GetInstance().Run(); }
|
||||||
frc2::CommandScheduler::GetInstance().Run();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is called once each time the robot enters Disabled mode. You
|
* This function is called once each time the robot enters Disabled mode. You
|
||||||
|
@ -74,7 +72,5 @@ void Robot::SimulationInit() {}
|
||||||
void Robot::SimulationPeriodic() {}
|
void Robot::SimulationPeriodic() {}
|
||||||
|
|
||||||
#ifndef RUNNING_FRC_TESTS
|
#ifndef RUNNING_FRC_TESTS
|
||||||
int main() {
|
int main() { return frc::StartRobot<Robot>(); }
|
||||||
return frc::StartRobot<Robot>();
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue