CTRE_Phoenix  5.19.4
ctre::phoenix::CANifierConfiguration Struct Reference

#include <CANifier.h>

Inherits ctre::phoenix::CustomParamConfiguration.

Public Member Functions

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

CANifierVelocityMeasPeriod velocityMeasurementPeriod
 
int velocityMeasurementWindow
 
bool clearPositionOnLimitF
 
bool clearPositionOnLimitR
 
bool clearPositionOnQuadIdx
 
- Public Attributes inherited from ctre::phoenix::CustomParamConfiguration
int customParam0
 
int customParam1
 
bool enableOptimizations
 

Detailed Description

Configurables available to CANifier

Member Function Documentation

◆ toString() [1/2]

std::string ctre::phoenix::CANifierConfiguration::toString ( )
inline
Returns
String representation of configs

◆ toString() [2/2]

std::string ctre::phoenix::CANifierConfiguration::toString ( std::string  prependString)
inline
Parameters
prependStringString to prepend to configs
Returns
String representation of configs

Member Data Documentation

◆ clearPositionOnLimitF

bool ctre::phoenix::CANifierConfiguration::clearPositionOnLimitF

Whether to clear sensor position on forward limit

◆ clearPositionOnLimitR

bool ctre::phoenix::CANifierConfiguration::clearPositionOnLimitR

Whether to clear sensor position on reverse limit

◆ clearPositionOnQuadIdx

bool ctre::phoenix::CANifierConfiguration::clearPositionOnQuadIdx

Whether to clear sensor position on index

◆ velocityMeasurementPeriod

CANifierVelocityMeasPeriod ctre::phoenix::CANifierConfiguration::velocityMeasurementPeriod

Velocity measurement period to use

◆ velocityMeasurementWindow

int ctre::phoenix::CANifierConfiguration::velocityMeasurementWindow

Velocity measurement window to use


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