Class ProfiledPIDCommand

java.lang.Object
edu.wpi.first.wpilibj2.command.CommandBase
edu.wpi.first.wpilibj2.command.ProfiledPIDCommand
All Implemented Interfaces:
Sendable, Command

public class ProfiledPIDCommand
extends CommandBase
A command that controls an output with a ProfiledPIDController. Runs forever by default - to add exit conditions and/or other behavior, subclass this class. The controller calculation and output are performed synchronously in the command's execute() method.