Files
allwpilib/wpilibc/athena/include/IterativeRobot.h
2017-07-08 07:50:56 -07:00

32 lines
1.0 KiB
C++

/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008-2017. 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. */
/*----------------------------------------------------------------------------*/
#pragma once
#include "IterativeRobotBase.h"
namespace frc {
/**
* IterativeRobot implements the IterativeRobotBase robot program framework.
*
* The IterativeRobot class is intended to be subclassed by a user creating a
* robot program.
*
* Periodic() functions from the base class are called each time a new packet is
* received from the driver station.
*/
class IterativeRobot : public IterativeRobotBase {
public:
IterativeRobot();
virtual ~IterativeRobot() = default;
void StartCompetition() override;
};
} // namespace frc