pidoutput.h

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

H
25
字号
/*----------------------------------------------------------------------------*/
/* 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 PID_OUTPUT_H
#define PID_OUTPUT_H

#include "Base.h"

/**
 * PIDOutput interface is a generic output for the PID class.
 * PWMs use this class.
 * Users implement this interface to allow for a PIDController to 
 * read directly from the inputs
 */
class PIDOutput
{
public:
	virtual void PIDWrite(float output) = 0;
};

#endif

⌨️ 快捷键说明

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