CTRE_Phoenix 5.20.2
|
#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 |
Interface for followers
|
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.
masterToFollow | Motor Controller object to follow. |
Implemented in ctre::phoenix::motorcontrol::can::BaseMotorController.
|
pure virtual |
When master makes a device, this routine is called to signal the update.
Implemented in ctre::phoenix::motorcontrol::can::BaseMotorController.