CTRE_Phoenix 5.20.2
|
Public Member Functions | |
InvertType (int value) | |
Public Attributes | |
None =(0) | |
InvertMotorOutput =(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 InvertType of specified value
value | Value of Invert Type |
com.ctre.phoenix.motorcontrol.InvertType.FollowMaster =(2) |
Follow the invert of the master this MC is following
com.ctre.phoenix.motorcontrol.InvertType.InvertMotorOutput =(1) |
Same as SetInverted(true)
com.ctre.phoenix.motorcontrol.InvertType.None =(0) |
Same as SetInverted(false)
com.ctre.phoenix.motorcontrol.InvertType.OpposeMaster =(3) |
Oppose the invert of the master this MC is following
int com.ctre.phoenix.motorcontrol.InvertType.value |
Value of Invert Type