Preseason Test Project Robot.cpp

From 1511Wookiee
Revision as of 13:09, 9 December 2019 by Programming (talk | contribs)
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() {

}

 

void Robot::RobotInit() {

}

 

void Robot::Disabled() {

}

 

void Robot::Autonomous() {

}

 

void Robot::OperatorControl() {

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

        frc::Wait(0.005);

    }

}

 

voidRobot::Test() {

}

 

#ifndefRUNNING_FRC_TESTS

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

#endif