CTRE_Phoenix 5.20.2
com.ctre.phoenix.motorcontrol.IFollower Interface Reference

Inherited by com.ctre.phoenix.motorcontrol.IMotorController.

Public Member Functions

void follow (IMotorController masterToFollow)
 
void valueUpdated ()
 

Detailed Description

Interface for followers

Member Function Documentation

◆ follow()

void com.ctre.phoenix.motorcontrol.IFollower.follow ( IMotorController  masterToFollow)

Set the control mode and output value so that this motor controller will follow another motor controller. Currently supports following Victor SPX and Talon SRX.

Parameters
masterToFollowMotor Controller object to follow.

Implemented in com.ctre.phoenix.motorcontrol.can.BaseMotorController.

◆ valueUpdated()

void com.ctre.phoenix.motorcontrol.IFollower.valueUpdated ( )

When master makes a device, this routine is called to signal the update.

Implemented in com.ctre.phoenix.motorcontrol.can.BaseMotorController.


The documentation for this interface was generated from the following file: