CTRE_Phoenix 5.20.2
ctre::phoenix::motorcontrol::can::TalonSRXConfiguration Struct Reference

#include <TalonSRX.h>

Inherits ctre::phoenix::motorcontrol::can::BaseTalonConfiguration.

Public Member Functions

std::string toString ()
 
std::string toString (std::string prependString)
 
- Public Member Functions inherited from ctre::phoenix::motorcontrol::can::BaseTalonConfiguration
 BaseTalonConfiguration (FeedbackDevice defaultFeedbackDevice)
 
std::string toString ()
 
std::string toString (std::string prependString)
 
- Public Member Functions inherited from ctre::phoenix::motorcontrol::can::BaseMotorControllerConfiguration
std::string toString ()
 
std::string toString (std::string prependString)
 
- Public Member Functions inherited from ctre::phoenix::CustomParamConfiguration
std::string toString ()
 
std::string toString (std::string prependString)
 

Public Attributes

int peakCurrentLimit
 
int peakCurrentDuration
 
int continuousCurrentLimit
 
- Public Attributes inherited from ctre::phoenix::motorcontrol::can::BaseTalonConfiguration
BaseTalonPIDSetConfiguration primaryPID
 
BaseTalonPIDSetConfiguration auxiliaryPID
 
LimitSwitchSource forwardLimitSwitchSource
 
LimitSwitchSource reverseLimitSwitchSource
 
int forwardLimitSwitchDeviceID
 
int reverseLimitSwitchDeviceID
 
LimitSwitchNormal forwardLimitSwitchNormal
 
LimitSwitchNormal reverseLimitSwitchNormal
 
FeedbackDevice sum0Term
 
FeedbackDevice sum1Term
 
FeedbackDevice diff0Term
 
FeedbackDevice diff1Term
 
- Public Attributes inherited from ctre::phoenix::motorcontrol::can::BaseMotorControllerConfiguration
double openloopRamp
 
double closedloopRamp
 
double peakOutputForward
 
double peakOutputReverse
 
double nominalOutputForward
 
double nominalOutputReverse
 
double neutralDeadband
 
double voltageCompSaturation
 
int voltageMeasurementFilter
 
ctre::phoenix::sensors::SensorVelocityMeasPeriod velocityMeasurementPeriod
 
int velocityMeasurementWindow
 
double forwardSoftLimitThreshold
 
double reverseSoftLimitThreshold
 
bool forwardSoftLimitEnable
 
bool reverseSoftLimitEnable
 
SlotConfiguration slot0
 
SlotConfiguration slot1
 
SlotConfiguration slot2
 
SlotConfiguration slot3
 
bool auxPIDPolarity
 
FilterConfiguration remoteFilter0
 
FilterConfiguration remoteFilter1
 
double motionCruiseVelocity
 
double motionAcceleration
 
int motionCurveStrength
 
int motionProfileTrajectoryPeriod
 
bool feedbackNotContinuous
 
bool remoteSensorClosedLoopDisableNeutralOnLOS
 
bool clearPositionOnLimitF
 
bool clearPositionOnLimitR
 
bool clearPositionOnQuadIdx
 
bool limitSwitchDisableNeutralOnLOS
 
bool softLimitDisableNeutralOnLOS
 
int pulseWidthPeriod_EdgesPerRot
 
int pulseWidthPeriod_FilterWindowSz
 
bool trajectoryInterpolationEnable
 
- Public Attributes inherited from ctre::phoenix::CustomParamConfiguration
int customParam0
 
int customParam1
 
bool enableOptimizations
 

Detailed Description

Configurables available to TalonSRX

Member Function Documentation

◆ toString() [1/2]

std::string ctre::phoenix::motorcontrol::can::TalonSRXConfiguration::toString ( )
inline
Returns
String representation of all the configs

◆ toString() [2/2]

std::string ctre::phoenix::motorcontrol::can::TalonSRXConfiguration::toString ( std::string  prependString)
inline
Parameters
prependStringString to prepend to all the configs
Returns
String representation of all the configs

Member Data Documentation

◆ continuousCurrentLimit

int ctre::phoenix::motorcontrol::can::TalonSRXConfiguration::continuousCurrentLimit

Continuous current in amps

Current limit is activated when current exceeds the peak limit for longer than the peak duration. Then software will limit to the continuous limit. This ensures current limiting while allowing for momentary excess current events.

◆ peakCurrentDuration

int ctre::phoenix::motorcontrol::can::TalonSRXConfiguration::peakCurrentDuration

Peak Current duration in milliseconds

Current limit is activated when current exceeds the peak limit for longer than the peak duration. Then software will limit to the continuous limit. This ensures current limiting while allowing for momentary excess current events.

◆ peakCurrentLimit

int ctre::phoenix::motorcontrol::can::TalonSRXConfiguration::peakCurrentLimit

Peak current in amps

Current limit is activated when current exceeds the peak limit for longer than the peak duration. Then software will limit to the continuous limit. This ensures current limiting while allowing for momentary excess current events.


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