001/*----------------------------------------------------------------------------*/
002/* Copyright (c) FIRST 2008-2017. 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
008package edu.wpi.first.wpilibj;
009
010/**
011 * This interface allows PIDController to write it's results to its output.
012 */
013@FunctionalInterface
014public interface PIDOutput {
015
016  /**
017   * Set the output to the value calculated by PIDController.
018   *
019   * @param output the value calculated by PIDController
020   */
021  void pidWrite(double output);
022}