CTRE_Phoenix  5.19.4
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)

Create NeutralMode from specified value

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: