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

#include <SparkMaxConfigAccessor.h>

Inherits rev::spark::SparkBaseConfigAccessor.

Public Attributes

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

Friends

class SparkMax
 

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

◆ SparkMax

friend class SparkMax
friend

Member Data Documentation

◆ alternateEncoder

AlternateEncoderConfigAccessor rev::spark::SparkMaxConfigAccessor::alternateEncoder

Accessor for parameters relating to the alternate encoder. To configure these values, use AlternateEncoderConfig 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: