CTRE_Phoenix 5.20.2
com.ctre.phoenix.motorcontrol.InvertType Enum Reference

Public Member Functions

 InvertType (int value)
 

Public Attributes

 None =(0)
 
 InvertMotorOutput =(1)
 
 FollowMaster =(2)
 
 OpposeMaster =(3)
 
int value
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ InvertType()

com.ctre.phoenix.motorcontrol.InvertType.InvertType ( int  value)
inline

Create InvertType of specified value

Parameters
valueValue of Invert Type

Member Data Documentation

◆ FollowMaster

com.ctre.phoenix.motorcontrol.InvertType.FollowMaster =(2)

Follow the invert of the master this MC is following

◆ InvertMotorOutput

com.ctre.phoenix.motorcontrol.InvertType.InvertMotorOutput =(1)

Same as SetInverted(true)

◆ None

com.ctre.phoenix.motorcontrol.InvertType.None =(0)

Same as SetInverted(false)

◆ OpposeMaster

com.ctre.phoenix.motorcontrol.InvertType.OpposeMaster =(3)

Oppose the invert of the master this MC is following

◆ value

int com.ctre.phoenix.motorcontrol.InvertType.value

Value of Invert Type


The documentation for this enum was generated from the following file: