CTRE_Phoenix 5.20.2
com.ctre.phoenix.motorcontrol.can.BaseTalonPIDSetConfiguration Class Reference

Inherits com.ctre.phoenix.motorcontrol.can.BasePIDSetConfiguration.

Inherited by com.ctre.phoenix.motorcontrol.can.TalonFXPIDSetConfiguration, and com.ctre.phoenix.motorcontrol.can.TalonSRXPIDSetConfiguration.

Public Member Functions

 BaseTalonPIDSetConfiguration (FeedbackDevice defaultFeedbackDevice)
 
String toString ()
 
String toString (String prependString)
 
String toString ()
 
String toString (String prependString)
 

Public Attributes

FeedbackDevice selectedFeedbackSensor
 
- Public Attributes inherited from com.ctre.phoenix.motorcontrol.can.BasePIDSetConfiguration
double selectedFeedbackCoefficient
 

Detailed Description

Configurables available to TalonSRX's PID

Member Function Documentation

◆ toString() [1/2]

String com.ctre.phoenix.motorcontrol.can.BaseTalonPIDSetConfiguration.toString ( )
inline
Returns
string representation of configs

Reimplemented from com.ctre.phoenix.motorcontrol.can.BasePIDSetConfiguration.

◆ toString() [2/2]

String com.ctre.phoenix.motorcontrol.can.BaseTalonPIDSetConfiguration.toString ( String  prependString)
inline
Parameters
prependStringString to prepend to configs
Returns
String representation of configs

Reimplemented from com.ctre.phoenix.motorcontrol.can.BasePIDSetConfiguration.

Member Data Documentation

◆ selectedFeedbackSensor

FeedbackDevice com.ctre.phoenix.motorcontrol.can.BaseTalonPIDSetConfiguration.selectedFeedbackSensor

Feedback device for a particular PID loop. Note the FeedbackDevice enum holds all possible sensor types. Consult product documentation to confirm what is available. Alternatively the product specific enum can be used instead (see below).

configs.primaryPID.selectedFeedbackSensor = TalonSRXFeedbackDevice.QuadEncoder.toFeedbackDevice(); configs.primaryPID.selectedFeedbackSensor = TalonFXFeedbackDevice.IntegratedSensor.toFeedbackDevice();


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