Source code for wpilib.interfaces.pidinterface

#----------------------------------------------------------------------------
# Copyright (c) FIRST 2016. All Rights Reserved.
# Open Source Software - may be modified and shared by FRC teams. The code
# must be accompanied by the FIRST BSD license file in the root directory of
# the project.
#----------------------------------------------------------------------------

from .controller import Controller

__all__ = ['PIDInterface']

[docs]class PIDInterface(Controller):
[docs] def setPID(self, p, i, d): raise NotImplementedError
[docs] def getP(self): raise NotImplementedError
[docs] def getI(self): raise NotImplementedError
[docs] def getD(self): raise NotImplementedError
[docs] def setSetpoint(self, setpoint): raise NotImplementedError
[docs] def getSetpoint(self): raise NotImplementedError
[docs] def getError(self): raise NotImplementedError
[docs] def enable(self): raise NotImplementedError
[docs] def disable(self): raise NotImplementedError
[docs] def isEnabled(self): raise NotImplementedError
[docs] def reset(self): raise NotImplementedError