SparkBaseConfigAccessor

class rev.SparkBaseConfigAccessor

Bases: pybind11_object

property absoluteEncoder

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

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

property analogSensor

Accessor for parameters relating to the analog sensor. To configure these values, use AnalogSensorConfig and call SparkBase::Configure.

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

property closedLoop

Accessor for parameters relating to the closed loop controller. To configure these values, use ClosedLoopConfig and call SparkBase::Configure.

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

property encoder

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

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

getClosedLoopRampRate() float
getFollowerModeInverted() bool
getFollowerModeLeaderId() int
getIdleMode() rev._rev.SparkBaseConfig.IdleMode
getInverted() bool
getOpenLoopRampRate() float
getSecondaryCurrentLimit() float
getSecondaryCurrentLimitChopCycles() int
getSmartCurrentFreeLimit() int
getSmartCurrentLimit() int
getSmartCurrentRPMLimit() int
getVoltageCompensation() float
getVoltageCompensationEnabled() bool
property limitSwitch

Accessor for parameters relating to the hardware limit switches. To configure these values, use LimitSwitchConfig and call SparkBase::Configure.

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

property signals

Accessor for parameters relating to status signals. To configure these values, use SignalsConfig and call SparkBase::Configure.

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

property softLimit

Accessor for parameters relating to the software limits. To configure these values, use SoftLimitConfig and call SparkBase::Configure.

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