TalonFXInvertType

class phoenix5.TalonFXInvertType(value: int)

Bases: pybind11_object

Choose the invert type for a Talon FX based integrated motor controller. CCW is the equivalent of SetInverted(false), CW is the equivalent of SetInverted(true). FollowMaster/OpposeMaster will match/oppose a master Talon/Victor. This requires device to be configured as a follower.

If the Phoenix 5 API must be used for this device, the device must have 22.X firmware. This firmware is available in Tuner X after selecting Phoenix 5 in the firmware year dropdown.

Deprecated:

This device’s Phoenix 5 API is deprecated for removal in the 2025 season. Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API. A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html.

Members:

CounterClockwise : Same as SetInverted(false)

Clockwise : Same as SetInverted(true)

FollowMaster : Follow the invert of the master this MC is following.

OpposeMaster : Opposite of the invert of the master this MC is following.

Clockwise = <TalonFXInvertType.Clockwise: 1>
CounterClockwise = <TalonFXInvertType.CounterClockwise: 0>
FollowMaster = <TalonFXInvertType.FollowMaster: 2>
OpposeMaster = <TalonFXInvertType.OpposeMaster: 3>
property name
property value