mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
32 lines
1.0 KiB
C++
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
|