REVLib - C++
rev::spark::SparkFlexConfigAccessor Class Reference

#include <SparkFlexConfigAccessor.h>

Inherits rev::spark::SparkBaseConfigAccessor.

Public Attributes

ExternalEncoderConfigAccessor externalEncoder
 
- Public Attributes inherited from rev::spark::SparkBaseConfigAccessor
AbsoluteEncoderConfigAccessor absoluteEncoder
 
AnalogSensorConfigAccessor analogSensor
 
ClosedLoopConfigAccessor closedLoop
 
EncoderConfigAccessor encoder
 
LimitSwitchConfigAccessor limitSwitch
 
SignalsConfigAccessor signals
 
SoftLimitConfigAccessor softLimit
 

Friends

class SparkFlex
 

Additional Inherited Members

- Public Member Functions inherited from rev::spark::SparkBaseConfigAccessor
SparkBaseConfig::IdleMode GetIdleMode ()
 
bool GetInverted ()
 
int GetSmartCurrentLimit ()
 
int GetSmartCurrentFreeLimit ()
 
int GetSmartCurrentRPMLimit ()
 
double GetSecondaryCurrentLimit ()
 
int GetSecondaryCurrentLimitChopCycles ()
 
double GetOpenLoopRampRate ()
 
double GetClosedLoopRampRate ()
 
double GetVoltageCompensation ()
 
bool GetVoltageCompensationEnabled ()
 
int GetFollowerModeLeaderId ()
 
bool GetFollowerModeInverted ()
 
- Protected Member Functions inherited from rev::spark::SparkBaseConfigAccessor
 SparkBaseConfigAccessor (void *sparkHandle)
 

Friends And Related Function Documentation

◆ SparkFlex

friend class SparkFlex
friend

Member Data Documentation

◆ externalEncoder

ExternalEncoderConfigAccessor rev::spark::SparkFlexConfigAccessor::externalEncoder

Accessor for parameters relating to the external encoder. To configure these values, use ExternalEncoderConfig and call SparkBase::Configure.

NOTE: This uses calls that are blocking to retrieve parameters and should be used infrequently.


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