001 /*----------------------------------------------------------------------------*/ 002 /* Copyright (c) FIRST 2008-2012. All Rights Reserved. */ 003 /* Open Source Software - may be modified and shared by FRC teams. The code */ 004 /* must be accompanied by the FIRST BSD license file in the root directory of */ 005 /* the project. */ 006 /*----------------------------------------------------------------------------*/ 007 008 package edu.wpi.first.wpilibj; 009 010 /** 011 * This interface allows PIDController to write it's results to its output. 012 * @author dtjones 013 */ 014 public interface PIDOutput { 015 016 /** 017 * Set the output to the value calculated by PIDController 018 * @param output the value calculated by PIDController 019 */ 020 public void pidWrite(double output); 021 }