Interface TorquePIDMotor
- All Known Subinterfaces:
TorqueSmartMotor
- All Known Implementing Classes:
TorqueFalcon
,TorqueSparkMax
,TorqueTalon
public interface TorquePIDMotor
Interface to include PID methods for a PID motor.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configurePID
(TorquePID pid) void
configurePID
(KPID kPID) Deprecated.void
setPosition
(double setpoint) void
setPositionDegrees
(double setpoint) void
setPositionRotations
(double setpoint) void
setVelocity
(double setpoint) void
setVelocityRPM
(double setpoint) void
setVelocityRPS
(double setpoint)
-
Field Details
-
CLICKS_PER_ROTATION
static final double CLICKS_PER_ROTATION- See Also:
-
-
Method Details
-
configurePID
Deprecated. -
configurePID
-
setPosition
void setPosition(double setpoint) -
setPositionDegrees
void setPositionDegrees(double setpoint) -
setPositionRotations
void setPositionRotations(double setpoint) -
setVelocity
void setVelocity(double setpoint) -
setVelocityRPS
void setVelocityRPS(double setpoint) -
setVelocityRPM
void setVelocityRPM(double setpoint)
-