simplerobot.h

来自「good luck to everyone!」· C头文件 代码 · 共 30 行

H
30
字号
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. 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 $(WIND_BASE)/WPILib.  */
/*----------------------------------------------------------------------------*/

#ifndef SIMPLE_ROBOT_H
#define SIMPLE_ROBOT_H

#include "RobotBase.h"

/**
 * @todo If this is going to last until release, it needs a better name.
 */
class SimpleRobot: public RobotBase
{
public:
	SimpleRobot();
	virtual ~SimpleRobot() {}
	virtual void Autonomous();
	virtual void OperatorControl();
	virtual void RobotMain();
	void StartCompetition();

private:
	bool m_robotMainOverridden;
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?