Package com.ctre.phoenix.motorcontrol
Interface IFollower
- All Known Subinterfaces:
IMotorController
,IMotorControllerEnhanced
- All Known Implementing Classes:
BaseMotorController
,BaseTalon
,TalonFX
,TalonSRX
,VictorSPX
,WPI_TalonFX
,WPI_TalonSRX
,WPI_VictorSPX
public interface IFollower
Interface for followers
-
Method Summary
Modifier and Type Method Description void
follow(IMotorController masterToFollow)
Set the control mode and output value so that this motor controller will follow another motor controller.void
valueUpdated()
When master makes a device, this routine is called to signal the update.
-
Method Details
-
follow
Set the control mode and output value so that this motor controller will follow another motor controller. Currently supports following Victor SPX, Talon SRX, and Talon FX.- Parameters:
masterToFollow
- Motor Controller object to follow.
-
valueUpdated
void valueUpdated()When master makes a device, this routine is called to signal the update.
-