blob: 40421d082227b92f513fd4299d2d7d4d2aa61f7e [file] [log] [blame]
Brian Silverman26e4e522015-12-17 01:56:40 -05001/*----------------------------------------------------------------------------*/
2/* Copyright (c) FIRST 2008. All Rights Reserved.
3 */
4/* Open Source Software - may be modified and shared by FRC teams. The code */
5/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
6/*----------------------------------------------------------------------------*/
7#pragma once
8
9#include "Base.h"
10
11/**
12 * PIDOutput interface is a generic output for the PID class.
13 * PWMs use this class.
14 * Users implement this interface to allow for a PIDController to
15 * read directly from the inputs
16 */
17class PIDOutput {
18 public:
19 virtual void PIDWrite(float output) = 0;
20};