Follower Constructor
Follow the motor output of another Talon.
If Talon is in torque control, the torque is copied - which will increase
the total torque applied. If Talon is in percent supply output control, the
duty cycle is matched. Motor direction either matches master's configured
direction or opposes it based on OpposeMasterDirection.
MasterID Device ID of the master to follow.
OpposeMasterDirection Set to false for motor invert to match the master's
configured Invert - which is typical when master
and follower are mechanically linked and spin in
the same direction. Set to true for motor invert
to oppose the master's configured Invert - this is
typical where the the master and follower
mechanically spin in opposite directions.
Namespace: CTRE.Phoenix6.ControlsAssembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
public Follower(
int MasterID,
bool OpposeMasterDirection
)
new :
MasterID : int *
OpposeMasterDirection : bool -> Follower
Parameters
- MasterID Int32
[Missing <param name="MasterID"/> documentation for "M:CTRE.Phoenix6.Controls.Follower.#ctor(System.Int32,System.Boolean)"]
- OpposeMasterDirection Boolean
[Missing <param name="OpposeMasterDirection"/> documentation for "M:CTRE.Phoenix6.Controls.Follower.#ctor(System.Int32,System.Boolean)"]