CTRE_Phoenix  5.19.4
ctre::phoenix::motorcontrol::can::VictorSPXConfiguration Struct Reference

#include <VictorSPX.h>

Inherits ctre::phoenix::motorcontrol::can::BaseMotorControllerConfiguration.

Public Member Functions

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

VictorSPXPIDSetConfiguration primaryPID
 
VictorSPXPIDSetConfiguration auxiliaryPID
 
RemoteLimitSwitchSource forwardLimitSwitchSource
 
RemoteLimitSwitchSource reverseLimitSwitchSource
 
int forwardLimitSwitchDeviceID
 
int reverseLimitSwitchDeviceID
 
LimitSwitchNormal forwardLimitSwitchNormal
 
LimitSwitchNormal reverseLimitSwitchNormal
 
RemoteFeedbackDevice sum0Term
 
RemoteFeedbackDevice sum1Term
 
RemoteFeedbackDevice diff0Term
 
RemoteFeedbackDevice 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
 
VelocityMeasPeriod 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 VictorSPX

Member Function Documentation

◆ toString() [1/2]

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

◆ toString() [2/2]

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

Member Data Documentation

◆ auxiliaryPID

VictorSPXPIDSetConfiguration ctre::phoenix::motorcontrol::can::VictorSPXConfiguration::auxiliaryPID

Auxiliary PID configuration

◆ diff0Term

RemoteFeedbackDevice ctre::phoenix::motorcontrol::can::VictorSPXConfiguration::diff0Term

Feedback Device for Diff 0 Term

◆ diff1Term

RemoteFeedbackDevice ctre::phoenix::motorcontrol::can::VictorSPXConfiguration::diff1Term

Feedback Device for Diff 1 Term

◆ forwardLimitSwitchDeviceID

int ctre::phoenix::motorcontrol::can::VictorSPXConfiguration::forwardLimitSwitchDeviceID

Forward limit switch device ID

Limit Switch device id isn't used unless device is a remote

◆ forwardLimitSwitchNormal

LimitSwitchNormal ctre::phoenix::motorcontrol::can::VictorSPXConfiguration::forwardLimitSwitchNormal

Forward limit switch normally open/closed

◆ forwardLimitSwitchSource

RemoteLimitSwitchSource ctre::phoenix::motorcontrol::can::VictorSPXConfiguration::forwardLimitSwitchSource

Forward Limit Switch Source

User can choose between the feedback connector, remote Talon SRX, CANifier, or deactivate the feature

◆ primaryPID

VictorSPXPIDSetConfiguration ctre::phoenix::motorcontrol::can::VictorSPXConfiguration::primaryPID

Primary PID configuration

◆ reverseLimitSwitchDeviceID

int ctre::phoenix::motorcontrol::can::VictorSPXConfiguration::reverseLimitSwitchDeviceID

Reverse limit switch device ID

Limit Switch device id isn't used unless device is a remote

◆ reverseLimitSwitchNormal

LimitSwitchNormal ctre::phoenix::motorcontrol::can::VictorSPXConfiguration::reverseLimitSwitchNormal

Reverse limit switch normally open/closed

◆ reverseLimitSwitchSource

RemoteLimitSwitchSource ctre::phoenix::motorcontrol::can::VictorSPXConfiguration::reverseLimitSwitchSource

Reverse Limit Switch Source

User can choose between the feedback connector, remote Talon SRX, CANifier, or deactivate the feature

◆ sum0Term

RemoteFeedbackDevice ctre::phoenix::motorcontrol::can::VictorSPXConfiguration::sum0Term

Feedback Device for Sum 0 Term

◆ sum1Term

RemoteFeedbackDevice ctre::phoenix::motorcontrol::can::VictorSPXConfiguration::sum1Term

Feedback Device for Sum 1 Term


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