CTRE_Phoenix 5.20.2
ctre::phoenix::motorcontrol::IFollower Class Referenceabstract

#include <IFollower.h>

Inherited by ctre::phoenix::motorcontrol::IMotorController [virtual].

Public Member Functions

virtual void Follow (ctre::phoenix::motorcontrol::IMotorController &masterToFollow)=0
 
virtual void ValueUpdated ()=0
 

Detailed Description

Interface for followers

Member Function Documentation

◆ Follow()

virtual void ctre::phoenix::motorcontrol::IFollower::Follow ( ctre::phoenix::motorcontrol::IMotorController masterToFollow)
pure virtual

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 ctre::phoenix::motorcontrol::can::BaseMotorController.

◆ ValueUpdated()

virtual void ctre::phoenix::motorcontrol::IFollower::ValueUpdated ( )
pure virtual

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

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


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