001// Copyright (c) FIRST and other WPILib contributors.
002// Open Source Software; you can modify and/or share it under the terms of
003// the WPILib BSD license file in the root directory of this project.
004
005package edu.wpi.first.wpilibj;
006
007/**
008 * This interface allows PIDController to write it's results to its output.
009 *
010 * @deprecated Use DoubleConsumer and new PIDController class.
011 */
012@FunctionalInterface
013@Deprecated(since = "2020", forRemoval = true)
014public interface PIDOutput {
015  /**
016   * Set the output to the value calculated by PIDController.
017   *
018   * @param output the value calculated by PIDController
019   */
020  void pidWrite(double output);
021}