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

Public Member Functions

 NeutralMode (int value)
 

Public Attributes

 EEPROMSetting =(0)
 
 Coast =(1)
 
 Brake =(2)
 
int value
 

Detailed Description

Choose the neutral mode for a motor controller

Constructor & Destructor Documentation

◆ NeutralMode()

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

Create NeutralMode from specified value

Parameters
valueValue of NeutralMode

Member Data Documentation

◆ Brake

com.ctre.phoenix.motorcontrol.NeutralMode.Brake =(2)

When commanded to neutral, motor leads are commonized electrically to reduce motion.

◆ Coast

com.ctre.phoenix.motorcontrol.NeutralMode.Coast =(1)

When commanded to neutral, motor leads are set to high-impedance, allowing mechanism to coast.

◆ EEPROMSetting

com.ctre.phoenix.motorcontrol.NeutralMode.EEPROMSetting =(0)

Use the NeutralMode that is set in the MC's persistent storage.

◆ value

int com.ctre.phoenix.motorcontrol.NeutralMode.value

Value of NeutralMode


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