CTRE Phoenix C++ 5.33.1
ctre::phoenix::CANifierConfiguration Struct Reference

Configurables available to CANifier. More...

#include <ctre/phoenix/CANifier.h>

Inheritance diagram for ctre::phoenix::CANifierConfiguration:
ctre::phoenix::CustomParamConfiguration

Public Member Functions

 CANifierConfiguration ()
 
std::string toString ()
 
std::string toString (std::string prependString)
 
- Public Member Functions inherited from ctre::phoenix::CustomParamConfiguration
 CustomParamConfiguration ()
 
std::string toString ()
 
std::string toString (std::string prependString)
 

Public Attributes

ctre::phoenix::sensors::SensorVelocityMeasPeriod velocityMeasurementPeriod
 Velocity measurement period to use. More...
 
int velocityMeasurementWindow
 Velocity measurement window to use. More...
 
bool clearPositionOnLimitF
 Whether to clear sensor position on forward limit. More...
 
bool clearPositionOnLimitR
 Whether to clear sensor position on reverse limit. More...
 
bool clearPositionOnQuadIdx
 Whether to clear sensor position on index. More...
 
- Public Attributes inherited from ctre::phoenix::CustomParamConfiguration
int customParam0
 Custom Param 0. More...
 
int customParam1
 Custom Param 1. More...
 
bool enableOptimizations
 Enable optimizations for ConfigAll (defaults true) More...
 

Detailed Description

Configurables available to CANifier.

Constructor & Destructor Documentation

◆ CANifierConfiguration()

ctre::phoenix::CANifierConfiguration::CANifierConfiguration ( )
inline

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

ctre::phoenix::sensors::SensorVelocityMeasPeriod 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: