Preseason Test Project Robot.cpp
From 1511Wookiee
Jump to navigationJump to search
<code /*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of */ /* the project. */ /*----------------------------------------------------------------------------*/
- include "../include/Robot.h"
- include <iostream>
- include <frc/Timer.h>
- include <frc/smartdashboard/SmartDashboard.h>
Robot::Robot() { }
void Robot::RobotInit() { }
void Robot::Disabled() { }
void Robot::Autonomous() { }
void Robot::OperatorControl() {
while (IsOperatorControl() && IsEnabled()) { frc::Wait(0.005); }
}
void Robot::Test() { }
- ifndef RUNNING_FRC_TESTS
int main() { return frc::StartRobot<Robot>(); }
- endif