CTRE_Phoenix 5.20.2
|
Public Member Functions | |
TalonFXInvertType (int value) | |
InvertType | toInvertType () |
Public Attributes | |
CounterClockwise =(0) | |
Clockwise =(1) | |
FollowMaster =(2) | |
OpposeMaster =(3) | |
int | value |
Choose the invert type of the motor controller. None is the equivalent of SetInverted(false), where positive request yields positive voltage on M+. InvertMotorOutput is the equivelant of SetInverted(true), where positive request yields positive voltage on M-. FollowMaster/OpposeMaster will match/oppose a master Talon/Victor. This requires device to be configured as a follower.
|
inline |
Create TalonFXInvertType of specified value
value | Value of Invert Type |
|
inline |
Helper method to convert to generic InvertType enum.
com.ctre.phoenix.motorcontrol.TalonFXInvertType.Clockwise =(1) |
Same as SetInverted(true)
com.ctre.phoenix.motorcontrol.TalonFXInvertType.CounterClockwise =(0) |
Same as SetInverted(false)
com.ctre.phoenix.motorcontrol.TalonFXInvertType.FollowMaster =(2) |
Follow the invert of the master this MC is following
com.ctre.phoenix.motorcontrol.TalonFXInvertType.OpposeMaster =(3) |
Oppose the invert of the master this MC is following
int com.ctre.phoenix.motorcontrol.TalonFXInvertType.value |
Value of Invert Type