Files
allwpilib/wpilibc/src/main/native/include/IterativeRobot.h

32 lines
1.0 KiB
C
Raw Normal View History

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