Preseason Test Project Robot.cpp

From 1511Wookiee
Revision as of 13:07, 9 December 2019 by Programming (talk | contribs) (Created page with "<div class="mw-parser-output"> <code><font color="#008000"><font face="consolas"><font size="2"><font color="#008000"><font face="consolas"><font size="2"><font color="#008000...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

/*----------------------------------------------------------------------------*/

/* 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() {

}

 

voidRobot::RobotInit() {

}

 

voidRobot::Disabled() {

}

 

voidRobot::Autonomous() {

}

 

voidRobot::OperatorControl() {

    while(IsOperatorControl() && IsEnabled()) {

    frc::Wait(0.005);

    }

}

 

voidRobot::Test() {

}

 

#ifndefRUNNING_FRC_TESTS

intmain() {returnfrc::StartRobot<Robot>(); }

#endif