Index
All Classes and Interfaces|All Packages
A
- absoluteEncoder - Variable in class com.revrobotics.spark.config.SparkBaseConfig
- absoluteEncoder - Variable in class com.revrobotics.spark.config.SparkBaseConfigAccessor
-
Accessor for parameters relating to the absolute encoder.
- absoluteEncoder - Variable in class com.revrobotics.spark.SparkBase
- AbsoluteEncoder - Interface in com.revrobotics
- AbsoluteEncoderConfig - Class in com.revrobotics.spark.config
- AbsoluteEncoderConfig() - Constructor for class com.revrobotics.spark.config.AbsoluteEncoderConfig
- AbsoluteEncoderConfigAccessor - Class in com.revrobotics.spark.config
- AbsoluteEncoderConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.AbsoluteEncoderConfigAccessor
- absoluteEncoderLock - Variable in class com.revrobotics.spark.SparkBase
- absoluteEncoderPositionAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set whether to always enable the status frame that provides the signal returned by
SparkAbsoluteEncoder.getPosition()
. - absoluteEncoderPositionPeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
SparkAbsoluteEncoder.getPosition()
. - absoluteEncoderVelocityAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set whether to always enable the status frame that provides the signal returned by
SparkAbsoluteEncoder.getVelocity()
. - absoluteEncoderVelocityPeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
SparkAbsoluteEncoder.getVelocity()
. - addColorMatch(Color) - Method in class com.revrobotics.ColorMatch
-
Add color to match object
- AddDevice(int, int...) - Static method in class com.revrobotics.jni.CANSWDLJNI
-
Add a device to be updated
- allowedClosedLoopError(double) - Method in class com.revrobotics.spark.config.MAXMotionConfig
-
Set the allowed closed loop error for the MAXMotion mode of the controller.
- allowedClosedLoopError(double) - Method in class com.revrobotics.spark.config.SmartMotionConfig
-
Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to migrate to MAXMotion instead.
- allowedClosedLoopError(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.MAXMotionConfig
-
Set the allowed closed loop error for the MAXMotion mode of the controller for a specific PID slot.
- allowedClosedLoopError(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.SmartMotionConfig
-
Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to migrate to MAXMotion instead.
- alternateEncoder - Variable in class com.revrobotics.spark.config.SparkMaxConfig
- alternateEncoder - Variable in class com.revrobotics.spark.config.SparkMaxConfigAccessor
-
Accessor for parameters relating to the alternate encoder.
- AlternateEncoderConfig - Class in com.revrobotics.spark.config
- AlternateEncoderConfig() - Constructor for class com.revrobotics.spark.config.AlternateEncoderConfig
- AlternateEncoderConfig.Type - Enum Class in com.revrobotics.spark.config
- AlternateEncoderConfigAccessor - Class in com.revrobotics.spark.config
- AlternateEncoderConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.AlternateEncoderConfigAccessor
- AnalogInput - Interface in com.revrobotics
-
Get an instance of this interface by using
SparkBase.getAnalog()
. - analogPositionAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set whether to always enable the status frame that provides the signal returned by
SparkAnalogSensor.getPosition()
. - analogPositionPeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
SparkAnalogSensor.getPosition()
. - analogSensor - Variable in class com.revrobotics.spark.config.SparkBaseConfig
- analogSensor - Variable in class com.revrobotics.spark.config.SparkBaseConfigAccessor
-
Accessor for parameters relating to the analog sensor.
- analogSensor - Variable in class com.revrobotics.spark.SparkBase
- AnalogSensorConfig - Class in com.revrobotics.spark.config
- AnalogSensorConfig() - Constructor for class com.revrobotics.spark.config.AnalogSensorConfig
- AnalogSensorConfigAccessor - Class in com.revrobotics.spark.config
- AnalogSensorConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.AnalogSensorConfigAccessor
- analogSensorLock - Variable in class com.revrobotics.spark.SparkBase
- analogVelocityAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set whether to always enable the status frame that provides the signal returned by
SparkAnalogSensor.getVelocity()
. - analogVelocityPeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
SparkAnalogSensor.getVelocity()
. - analogVoltageAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set whether to always enable the status frame that provides the signal returned by
SparkAnalogSensor.getVoltage()
. - analogVoltagePeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
SparkAnalogSensor.getVoltage()
. - appliedOutput - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus0
- appliedOutputAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Deprecated.Calling this method will have no effect, as status 0 cannot be disabled.
- appliedOutputPeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
CANSparkBase.getAppliedOutput()
. - apply(AbsoluteEncoderConfig) - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfig
-
Applies settings from another
AbsoluteEncoderConfig
to this one. - apply(AbsoluteEncoderConfig) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Applies settings from an
AbsoluteEncoderConfig
to thisSparkBaseConfig
. - apply(AlternateEncoderConfig) - Method in class com.revrobotics.spark.config.AlternateEncoderConfig
-
Applies settings from another
AlternateEncoderConfig
to this one. - apply(AlternateEncoderConfig) - Method in class com.revrobotics.spark.config.SparkMaxConfig
-
Applies settings from an
AlternateEncoderConfig
to thisSparkMaxConfig
. - apply(AnalogSensorConfig) - Method in class com.revrobotics.spark.config.AnalogSensorConfig
-
Applies settings from another
AnalogSensorConfig
to this one. - apply(AnalogSensorConfig) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Applies settings from an
AnalogSensorConfig
to thisSparkBaseConfig
. - apply(ClosedLoopConfig) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Applies settings from another
ClosedLoopConfig
to this one, including all of its nested configurations. - apply(ClosedLoopConfig) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Applies settings from a
ClosedLoopConfig
to thisSparkBaseConfig
. - apply(EncoderConfig) - Method in class com.revrobotics.spark.config.EncoderConfig
-
Applies settings from another
EncoderConfig
to this one. - apply(EncoderConfig) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Applies settings from an
EncoderConfig
to thisSparkBaseConfig
. - apply(ExternalEncoderConfig) - Method in class com.revrobotics.spark.config.ExternalEncoderConfig
-
Applies settings from another
ExternalEncoderConfig
to this one. - apply(ExternalEncoderConfig) - Method in class com.revrobotics.spark.config.SparkFlexConfig
-
Applies settings from an
ExternalEncoderConfig
to thisSparkFlexConfig
. - apply(LimitSwitchConfig) - Method in class com.revrobotics.spark.config.LimitSwitchConfig
-
Applies settings from another
LimitSwitchConfig
to this one. - apply(LimitSwitchConfig) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Applies settings from a
LimitSwitchConfig
to thisSparkBaseConfig
. - apply(MAXMotionConfig) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Applies settings from a
MAXMotionConfig
to thisClosedLoopConfig
. - apply(MAXMotionConfig) - Method in class com.revrobotics.spark.config.MAXMotionConfig
-
Applies settings from another
MAXMotionConfig
to this one. - apply(SignalsConfig) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Applies settings from another
SignalsConfig
to this one. - apply(SignalsConfig) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Applies settings from a
SignalsConfig
to thisSparkBaseConfig
. - apply(SmartMotionConfig) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Applies settings from a
SmartMotionConfig
to thisClosedLoopConfig
. - apply(SmartMotionConfig) - Method in class com.revrobotics.spark.config.SmartMotionConfig
-
Applies settings from another
SmartMotionConfig
to this one. - apply(SoftLimitConfig) - Method in class com.revrobotics.spark.config.SoftLimitConfig
-
Applies settings from another
SoftLimitConfig
to this one. - apply(SoftLimitConfig) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Applies settings from a
SoftLimitConfig
to thisSparkBaseConfig
. - apply(SparkBaseConfig) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Applies settings from another
SparkBaseConfig
to this one, including all of its nested configurations. - apply(SparkFlexConfig) - Method in class com.revrobotics.spark.config.SparkFlexConfig
-
Applies settings from another
SparkFlexConfig
to this one, including all of its nested configurations. - apply(SparkMaxConfig) - Method in class com.revrobotics.spark.config.SparkMaxConfig
-
Applies settings from another
SparkMaxConfig
to this one, including all of its nested configurations. - averageDepth(int) - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfig
-
Set the average sampling depth of the absolute encoder.
- averageDepth(int) - Method in class com.revrobotics.spark.config.AlternateEncoderConfig
-
Set the sampling depth of the velocity calculation process of the alternate encoder.
- averageDepth(int) - Method in class com.revrobotics.spark.config.ExternalEncoderConfig
-
Set the sampling depth of the velocity calculation process of the external encoder.
B
- BaseConfig - Class in com.revrobotics.spark.config
- BaseConfig() - Constructor for class com.revrobotics.spark.config.BaseConfig
- blue - Variable in class com.revrobotics.ColorSensorV3.RawColor
- brownout - Variable in class com.revrobotics.spark.SparkBase.Warnings
- busVoltage - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus1
- busVoltageAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Deprecated.Calling this method will have no effect, as status 0 cannot be disabled.
- busVoltagePeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
CANSparkBase.getBusVoltage()
. - bVal - Variable in enum class com.revrobotics.ColorSensorV3.ColorSensorMeasurementRate
- bVal - Variable in enum class com.revrobotics.ColorSensorV3.ColorSensorResolution
- bVal - Variable in enum class com.revrobotics.ColorSensorV3.GainFactor
- bVal - Variable in enum class com.revrobotics.ColorSensorV3.LEDCurrent
- bVal - Variable in enum class com.revrobotics.ColorSensorV3.LEDPulseFrequency
- bVal - Variable in enum class com.revrobotics.ColorSensorV3.MainControl
- bVal - Variable in enum class com.revrobotics.ColorSensorV3.ProximitySensorMeasurementRate
- bVal - Variable in enum class com.revrobotics.ColorSensorV3.ProximitySensorResolution
- bVal - Variable in enum class com.revrobotics.ColorSensorV3.Register
C
- c_REVLib_ErrorFromCode(int) - Static method in class com.revrobotics.jni.REVLibJNI
- c_Spark_ClearFaults(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_Configure(long, String, boolean, boolean) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_Create(int, int, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_CreateAbsoluteEncoderSim(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_CreateAlternateEncoderSim(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_CreateAnalogSensorSim(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_CreateForwardLimitSwitchSim(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_CreateRelativeEncoderSim(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_CreateReverseLimitSwitchSim(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_CreateSimFaultManager(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_Destroy(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_FlattenParameterBool(int, boolean) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_FlattenParameterFloat(int, float) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_FlattenParameterInt32(int, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_FlattenParameterUint32(int, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetAltEncoderPosition(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetAltEncoderVelocity(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetAnalogPosition(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetAnalogVelocity(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetAnalogVoltage(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetAPIBuildRevision() - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetAPIMajorRevision() - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetAPIMinorRevision() - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetAPIVersion() - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetAppliedOutput(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetBusVoltage(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetControlFramePeriod(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetDataPortConfig(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetDeviceId(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetDutyCyclePosition(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetDutyCycleVelocity(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetEncoderPosition(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetEncoderVelocity(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetFaults(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetFirmwareVersion(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetIAccum(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetInverted(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetLastError(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetLimitSwitch(long, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetMotorInterface(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetMotorTemperature(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetOutputCurrent(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetParameterBool(long, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetParameterFloat32(long, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetParameterInt32(long, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetParameterType(int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetParameterUint32(long, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetSimClosedLoopOutput(long, float, float, float) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetSimCurrentLimitOutput(long, float, float) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetSimMAXMotionPositionControlOutput(long, float) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetSimMAXMotionVelocityControlOutput(long, float) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetSparkModel(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetStickyFaults(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetStickyWarnings(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_GetWarnings(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_IsDataPortConfigured(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_IsFollower(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_PersistParameters(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_RegisterId(int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_ResetSafeParameters(long, boolean) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SafeFloat(float) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetAltEncoderPosition(long, float) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetCANMaxRetries(long, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetCANTimeout(long, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetControlFramePeriod(long, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetEncoderPosition(long, float) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetIAccum(long, float) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetInverted(long, boolean) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetParameterBool(long, int, boolean) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetParameterFloat32(long, int, float) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetParameterInt32(long, int, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetParameterUint32(long, int, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetPeriodicFrameTimeout(long, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetpointCommand(long, float, int, int, float, int) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_SetSimAppliedOutput(long, float) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_StartFollowerMode(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- c_Spark_StopFollowerMode(long) - Static method in class com.revrobotics.jni.CANSparkJNI
- can - Variable in class com.revrobotics.spark.SparkBase.Faults
- CANSparkJNI - Class in com.revrobotics.jni
- CANSparkJNI() - Constructor for class com.revrobotics.jni.CANSparkJNI
- CANSWDLJNI - Class in com.revrobotics.jni
- CANSWDLJNI() - Constructor for class com.revrobotics.jni.CANSWDLJNI
- CIEColor - Class in com.revrobotics
- CIEColor(double, double, double) - Constructor for class com.revrobotics.CIEColor
- clearFaults() - Method in class com.revrobotics.spark.SparkBase
-
Clears all sticky faults.
- close() - Method in class com.revrobotics.spark.SparkLowLevel
-
Closes the SPARK Controller
- closedLoop - Variable in class com.revrobotics.spark.config.SparkBaseConfig
- closedLoop - Variable in class com.revrobotics.spark.config.SparkBaseConfigAccessor
-
Accessor for parameters relating to the closed loop controller.
- ClosedLoopConfig - Class in com.revrobotics.spark.config
- ClosedLoopConfig() - Constructor for class com.revrobotics.spark.config.ClosedLoopConfig
- ClosedLoopConfig.ClosedLoopSlot - Enum Class in com.revrobotics.spark.config
- ClosedLoopConfig.FeedbackSensor - Enum Class in com.revrobotics.spark.config
- ClosedLoopConfigAccessor - Class in com.revrobotics.spark.config
- ClosedLoopConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- closedLoopController - Variable in class com.revrobotics.spark.SparkBase
- closedLoopControllerLock - Variable in class com.revrobotics.spark.SparkBase
- closedLoopRampRate(double) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Sets the ramp rate for closed loop control modes.
- color - Variable in class com.revrobotics.ColorMatchResult
- ColorMatch - Class in com.revrobotics
- ColorMatch() - Constructor for class com.revrobotics.ColorMatch
- ColorMatchResult - Class in com.revrobotics
- ColorMatchResult(Color, double) - Constructor for class com.revrobotics.ColorMatchResult
-
Construct a color match result object.
- ColorSensorV3 - Class in com.revrobotics
-
REV Robotics Color Sensor V3
- ColorSensorV3(I2C.Port) - Constructor for class com.revrobotics.ColorSensorV3
-
Constructs a ColorSensor.
- ColorSensorV3.ColorSensorMeasurementRate - Enum Class in com.revrobotics
- ColorSensorV3.ColorSensorResolution - Enum Class in com.revrobotics
- ColorSensorV3.GainFactor - Enum Class in com.revrobotics
- ColorSensorV3.LEDCurrent - Enum Class in com.revrobotics
- ColorSensorV3.LEDPulseFrequency - Enum Class in com.revrobotics
- ColorSensorV3.MainControl - Enum Class in com.revrobotics
- ColorSensorV3.ProximitySensorMeasurementRate - Enum Class in com.revrobotics
- ColorSensorV3.ProximitySensorResolution - Enum Class in com.revrobotics
- ColorSensorV3.RawColor - Class in com.revrobotics
- ColorSensorV3.Register - Enum Class in com.revrobotics
- com.revrobotics - package com.revrobotics
- com.revrobotics.jni - package com.revrobotics.jni
- com.revrobotics.sim - package com.revrobotics.sim
- com.revrobotics.spark - package com.revrobotics.spark
- com.revrobotics.spark.config - package com.revrobotics.spark.config
- confidence - Variable in class com.revrobotics.ColorMatchResult
- configAccessor - Variable in class com.revrobotics.spark.SparkFlex
-
Accessor for SPARK parameter values.
- configAccessor - Variable in class com.revrobotics.spark.SparkMax
-
Accessor for SPARK parameter values.
- configure(SparkBaseConfig, SparkBase.ResetMode, SparkBase.PersistMode) - Method in class com.revrobotics.spark.SparkBase
-
Set the configuration for the SPARK.
- configure(SparkBaseConfig, SparkBase.ResetMode, SparkBase.PersistMode) - Method in class com.revrobotics.spark.SparkMax
-
Extended Functions ******
- configureColorSensor(ColorSensorV3.ColorSensorResolution, ColorSensorV3.ColorSensorMeasurementRate, ColorSensorV3.GainFactor) - Method in class com.revrobotics.ColorSensorV3
-
Configure the color sensor.
- configureProximitySensor(ColorSensorV3.ProximitySensorResolution, ColorSensorV3.ProximitySensorMeasurementRate) - Method in class com.revrobotics.ColorSensorV3
-
Configure the proximity sensor.
- configureProximitySensorLED(ColorSensorV3.LEDPulseFrequency, ColorSensorV3.LEDCurrent, int) - Method in class com.revrobotics.ColorSensorV3
-
Configure the the IR LED used by the proximity sensor.
- countsPerRevolution(int) - Method in class com.revrobotics.spark.config.AlternateEncoderConfig
-
Set the counts per revolutions of the alternate encoder.
- countsPerRevolution(int) - Method in class com.revrobotics.spark.config.EncoderConfig
-
Set the counts per revolutions of the encoder.
- countsPerRevolution(int) - Method in class com.revrobotics.spark.config.ExternalEncoderConfig
-
Set the counts per revolutions of the external encoder.
- createSimFaultManager() - Method in class com.revrobotics.spark.SparkLowLevel
-
Create the sim gui Fault Manager for this Spark Device
D
- d(double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the derivative gain of the controller.
- d(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the derivative gain of the controller for a specific closed loop slot.
- dFilter(double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the derivative filter of the controller.
- dFilter(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the derivative filter of the controller for a specific closed loop slot.
- disable() - Method in class com.revrobotics.spark.SparkBase
-
Common interface for disabling a motor.
- disable() - Method in class com.revrobotics.spark.SparkSim
-
Disable the Spark Device, causing the output to go to 0
- disableFollowerMode() - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Disables follower mode on the controller.
- disableVoltageCompensation() - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Disables the voltage compensation setting for all modes on the SPARK.
E
- enable() - Method in class com.revrobotics.spark.SparkSim
-
Enable the Spark Device, allowing the motor to run.
- encoder - Variable in class com.revrobotics.spark.config.SparkBaseConfig
- encoder - Variable in class com.revrobotics.spark.config.SparkBaseConfigAccessor
-
Accessor for parameters relating to the primary encoder.
- encoder - Variable in class com.revrobotics.spark.SparkBase
- EncoderConfig - Class in com.revrobotics.spark.config
- EncoderConfig() - Constructor for class com.revrobotics.spark.config.EncoderConfig
- EncoderConfigAccessor - Class in com.revrobotics.spark.config
- EncoderConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.EncoderConfigAccessor
- encoderLock - Variable in class com.revrobotics.spark.SparkBase
- endPulseUs(double) - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfig
-
Set the length of the end pulse for this encoder.
- escEeprom - Variable in class com.revrobotics.spark.SparkBase.Faults
- escEeprom - Variable in class com.revrobotics.spark.SparkBase.Warnings
- expectedSparkModel - Variable in class com.revrobotics.spark.SparkLowLevel
- extEeprom - Variable in class com.revrobotics.spark.SparkBase.Warnings
- externalEncoder - Variable in class com.revrobotics.spark.config.SparkFlexConfig
- externalEncoder - Variable in class com.revrobotics.spark.config.SparkFlexConfigAccessor
-
Accessor for parameters relating to the external encoder.
- ExternalEncoderConfig - Class in com.revrobotics.spark.config
- ExternalEncoderConfig() - Constructor for class com.revrobotics.spark.config.ExternalEncoderConfig
- ExternalEncoderConfig.Type - Enum Class in com.revrobotics.spark.config
- ExternalEncoderConfigAccessor - Class in com.revrobotics.spark.config
- ExternalEncoderConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.ExternalEncoderConfigAccessor
- externalOrAltEncoderPosition(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
SparkFlexExternalEncoder.getPosition()
orSparkMaxAlternateEncoder.getPosition()
. - externalOrAltEncoderPositionAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set whether to always enable the status frame that provides the signal returned by
SparkFlexExternalEncoder.getPosition()
orSparkMaxAlternateEncoder.getPosition()
. - externalOrAltEncoderVelocity(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
SparkFlexExternalEncoder.getVelocity()
orSparkMaxAlternateEncoder.getVelocity()
. - externalOrAltEncoderVelocityAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set whether to always enable the status frame that provides the signal returned by
SparkFlexExternalEncoder.getVelocity()
orSparkMaxAlternateEncoder.getVelocity()
.
F
- faults - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus0
- Faults(int) - Constructor for class com.revrobotics.spark.SparkBase.Faults
- faultsAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set whether to always enable the status frame that provides the signal returned by
CANSparkBase.getFaults()
andCANSparkBase.getStickyFaults()
. - faultsPeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
CANSparkBase.getFaults()
andCANSparkBase.getStickyFaults()
. - feedbackSensor(ClosedLoopConfig.FeedbackSensor) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the feedback sensor of the controller.
- firmware - Variable in class com.revrobotics.spark.SparkBase.Faults
- flatten() - Method in class com.revrobotics.spark.config.BaseConfig
- flatten() - Method in class com.revrobotics.spark.config.ClosedLoopConfig
- flatten() - Method in class com.revrobotics.spark.config.SparkBaseConfig
- flatten() - Method in class com.revrobotics.spark.config.SparkFlexConfig
- flatten() - Method in class com.revrobotics.spark.config.SparkMaxConfig
- follow(int) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Causes this controller's output to mirror the provided leader.
- follow(int, boolean) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Causes this controller's output to mirror the provided leader.
- follow(SparkBase) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Causes this controller's output to mirror the provided leader.
- follow(SparkBase, boolean) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Causes this controller's output to mirror the provided leader.
- forwardLimitSwitch - Variable in class com.revrobotics.spark.SparkBase
- forwardLimitSwitchEnabled(boolean) - Method in class com.revrobotics.spark.config.LimitSwitchConfig
-
Set whether to enable or disable motor shutdown based on the forward limit switch state.
- forwardLimitSwitchLock - Variable in class com.revrobotics.spark.SparkBase
- forwardLimitSwitchType(LimitSwitchConfig.Type) - Method in class com.revrobotics.spark.config.LimitSwitchConfig
-
Set the normal state of the forward limit switch.
- forwardSoftLimit(double) - Method in class com.revrobotics.spark.config.SoftLimitConfig
-
Set the forward soft limit based on the position of the selected feedback sensor.
- forwardSoftLimitEnabled(boolean) - Method in class com.revrobotics.spark.config.SoftLimitConfig
-
Set whether to enable or disable the forward soft limit.
- fromId(int) - Static method in enum class com.revrobotics.spark.config.AlternateEncoderConfig.Type
- fromId(int) - Static method in enum class com.revrobotics.spark.config.ExternalEncoderConfig.Type
- fromId(int) - Static method in enum class com.revrobotics.spark.config.LimitSwitchConfig.Type
- fromId(int) - Static method in enum class com.revrobotics.spark.config.SparkBaseConfig.IdleMode
- fromId(int) - Static method in enum class com.revrobotics.spark.SparkLowLevel.MotorType
- fromId(int) - Static method in enum class com.revrobotics.spark.SparkLowLevel.PeriodicFrame
- fromInt(int) - Static method in enum class com.revrobotics.REVLibError
- fromInt(int) - Static method in enum class com.revrobotics.spark.config.MAXMotionConfig.MAXMotionPositionMode
- fromInt(int) - Static method in enum class com.revrobotics.spark.SparkClosedLoopController.ArbFFUnits
G
- gateDriver - Variable in class com.revrobotics.spark.SparkBase.Faults
- get() - Method in class com.revrobotics.sim.MovingAverageFilterSim
-
Get the current value of the filter
- get() - Method in class com.revrobotics.spark.SparkBase
-
Common interface for getting the current set speed of a speed controller.
- getAbsoluteEncoder() - Method in class com.revrobotics.spark.SparkBase
-
Returns an object for interfacing with a connected absolute encoder.
- getAbsoluteEncoder() - Method in class com.revrobotics.spark.SparkMax
- getAbsoluteEncoderPositionAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getAbsoluteEncoderPositionPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getAbsoluteEncoderSim() - Method in class com.revrobotics.spark.SparkSim
-
Get the
SparkAbsoluteEncoderSim
object associated with this Spark Device. - getAbsoluteEncoderVelocityAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getAbsoluteEncoderVelocityPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getAllowedClosedLoopError() - Method in class com.revrobotics.spark.config.MAXMotionConfigAccessor
- getAllowedClosedLoopError() - Method in class com.revrobotics.spark.config.SmartMotionConfigAccessor
- getAllowedClosedLoopError(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.MAXMotionConfigAccessor
- getAllowedClosedLoopError(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.SmartMotionConfigAccessor
- getAlternateEncoder() - Method in class com.revrobotics.spark.SparkMax
-
Returns an object for interfacing with a quadrature encoder connected to the alternate encoder mode data port pins.
- getAlternateEncoderSim() - Method in class com.revrobotics.sim.SparkMaxSim
-
Get the
SparkMaxAlternateEncoderSim
object associated with this Spark Device. - getAnalog() - Method in class com.revrobotics.spark.SparkBase
-
Returns an object for interfacing with a connected analog sensor.
- getAnalogPositionAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getAnalogPositionPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getAnalogSensorSim() - Method in class com.revrobotics.spark.SparkSim
-
Get the
SparkAnalogSensorSim
object associated with this Spark Device. - getAnalogVelocityAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getAnalogVelocityPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getAnalogVoltageAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getAnalogVoltagePeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getAppliedOutput() - Method in class com.revrobotics.spark.SparkBase
-
Simulation note: this value will not be updated during simulation unless
SparkSim.iterate(double, double, double)
is called - getAppliedOutput() - Method in class com.revrobotics.spark.SparkSim
-
Get the simulated applied output.
- getAppliedOutputAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getAppliedOutputPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getAverageDepth() - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfigAccessor
- getAverageDepth() - Method in class com.revrobotics.spark.config.ExternalEncoderConfigAccessor
- getBlue() - Method in class com.revrobotics.ColorSensorV3
-
Get the raw color value from the blue ADC
- getBusVoltage() - Method in class com.revrobotics.spark.SparkBase
- getBusVoltage() - Method in class com.revrobotics.spark.SparkSim
-
Get the simulated bus voltage
- getBusVoltageAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getBusVoltagePeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getCIEColor() - Method in class com.revrobotics.ColorSensorV3
-
Get the color converted to CIE XYZ color space using factory calibrated constants.
- getClosedLoopController() - Method in class com.revrobotics.spark.SparkBase
- getClosedLoopRampRate() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getClosedLoopSlot() - Method in class com.revrobotics.spark.SparkSim
-
Get the simulated closed loop slot
- getColor() - Method in class com.revrobotics.ColorSensorV3
-
Get the most likely color.
- getCountsPerRevolution() - Method in class com.revrobotics.spark.config.AlternateEncoderConfigAccessor
- getCountsPerRevolution() - Method in class com.revrobotics.spark.config.EncoderConfigAccessor
- getCountsPerRevolution() - Method in class com.revrobotics.spark.config.ExternalEncoderConfigAccessor
- getD() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getD(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getDeviceId() - Method in class com.revrobotics.spark.SparkLowLevel
-
Get the configured Device ID of the SPARK.
- getDFilter() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getDFilter(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getEnabled() - Method in class com.revrobotics.sim.SparkLimitSwitchSim
-
Get the enabled state of the limit switch
- getEncoder() - Method in class com.revrobotics.spark.SparkBase
-
Returns an object for interfacing with the encoder connected to the encoder pins or front port of the SPARK MAX or the motor interface of the SPARK Flex.
- getEndPulseUs() - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfigAccessor
- getExternalEncoder() - Method in class com.revrobotics.spark.SparkFlex
-
Returns an object for interfacing with an external quadrature encoder
- getExternalEncoderSim() - Method in class com.revrobotics.sim.SparkFlexSim
-
Get the
SparkFlexExternalEncoderSim
object associated with this Spark Device. - getExternalOrAltEncoderPositionAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getExternalOrAltEncoderPositionPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getExternalOrAltEncoderVelocityAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getExternalOrAltEncoderVelocityPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getFaultManager() - Method in class com.revrobotics.spark.SparkSim
-
Get the
SparkSimFaultManager
object associated with this Spark Device. - getFaults() - Method in class com.revrobotics.spark.SparkBase
-
Get the active faults that are currently present on the SPARK.
- getFaultsAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getFaultsPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getFeedbackSensor() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getFF() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getFF(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getFirmwareString() - Method in class com.revrobotics.spark.SparkLowLevel
-
Get the firmware version of the SPARK as a string.
- getFirmwareVersion() - Method in class com.revrobotics.spark.SparkLowLevel
-
Get the firmware version of the SPARK.
- getFollowerModeInverted() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getFollowerModeLeaderId() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getForwardLimitSwitch() - Method in class com.revrobotics.spark.SparkBase
-
Returns an object for interfacing with the forward limit switch connected to the appropriate pins on the data port.
- getForwardLimitSwitch() - Method in class com.revrobotics.spark.SparkMax
- getForwardLimitSwitchEnabled() - Method in class com.revrobotics.spark.config.LimitSwitchConfigAccessor
- getForwardLimitSwitchSim() - Method in class com.revrobotics.spark.SparkSim
-
Get the Forward
SparkLimitSwitchSim
object associated with this Spark Device. - getForwardSoftLimit() - Method in class com.revrobotics.spark.config.SoftLimitConfigAccessor
- getForwardSoftLimitEnabled() - Method in class com.revrobotics.spark.config.SoftLimitConfigAccessor
- getForwardSwitchType() - Method in class com.revrobotics.spark.config.LimitSwitchConfigAccessor
- getGreen() - Method in class com.revrobotics.ColorSensorV3
-
Get the raw color value from the green ADC
- getI() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getI(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getIAccum() - Method in class com.revrobotics.spark.SparkClosedLoopController
-
Get the I accumulator of the closed loop controller.
- getIAccumulationAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getIAccumulationPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getIdleMode() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getInverted() - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Get the inversion state of the sensor
- getInverted() - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Get the inversion state of the sensor
- getInverted() - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Get the inversion state of the sensor
- getInverted() - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Get the inversion state of the sensor
- getInverted() - Method in class com.revrobotics.sim.SparkRelativeEncoderSim
-
Get the inversion state of the sensor
- getInverted() - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfigAccessor
- getInverted() - Method in class com.revrobotics.spark.config.AlternateEncoderConfigAccessor
- getInverted() - Method in class com.revrobotics.spark.config.AnalogSensorConfigAccessor
- getInverted() - Method in class com.revrobotics.spark.config.EncoderConfigAccessor
- getInverted() - Method in class com.revrobotics.spark.config.ExternalEncoderConfigAccessor
- getInverted() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getInverted() - Method in class com.revrobotics.spark.SparkBase
-
Common interface for returning the inversion state of a speed controller.
- getIR() - Method in class com.revrobotics.ColorSensorV3
-
Get the raw color value from the IR ADC
- getIZone() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getIZone(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getLastError() - Method in class com.revrobotics.spark.SparkBase
-
All device errors are tracked on a per thread basis for all devices in that thread.
- getLimitsAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getLimitsPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getMaxAcceleration() - Method in class com.revrobotics.spark.config.MAXMotionConfigAccessor
- getMaxAcceleration() - Method in class com.revrobotics.spark.config.SmartMotionConfigAccessor
- getMaxAcceleration(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.MAXMotionConfigAccessor
- getMaxAcceleration(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.SmartMotionConfigAccessor
- getMaxIAccumulation() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getMaxIAccumulation(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getMaxOutput() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getMaxOutput(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getMaxVelocity() - Method in class com.revrobotics.spark.config.MAXMotionConfigAccessor
- getMaxVelocity() - Method in class com.revrobotics.spark.config.SmartMotionConfigAccessor
- getMaxVelocity(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.MAXMotionConfigAccessor
- getMaxVelocity(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.SmartMotionConfigAccessor
- getMeasurementPeriod() - Method in class com.revrobotics.spark.config.AlternateEncoderConfigAccessor
- getMeasurementPeriod() - Method in class com.revrobotics.spark.config.ExternalEncoderConfigAccessor
- getMinOutput() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getMinOutput(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getMinOutputVelocity() - Method in class com.revrobotics.spark.config.SmartMotionConfigAccessor
- getMinOutputVelocity(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.SmartMotionConfigAccessor
- getMotorCurrent() - Method in class com.revrobotics.spark.SparkSim
-
Get the simulated motor current in amps.
- getMotorTemperature() - Method in class com.revrobotics.spark.SparkBase
- getMotorTemperatureAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getMotorTemperaturePeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getMotorType() - Method in class com.revrobotics.spark.SparkLowLevel
-
Get the motor type setting for the SPARK
- getOpenLoopRampRate() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getOutputCurrent() - Method in class com.revrobotics.spark.SparkBase
- getOutputCurrentAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getOutputCurrentPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getP() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getP(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getPosition() - Method in interface com.revrobotics.AbsoluteEncoder
-
Get the position of the motor.
- getPosition() - Method in interface com.revrobotics.AnalogInput
-
Get the position of the sensor.
- getPosition() - Method in interface com.revrobotics.RelativeEncoder
-
Get the position of the motor.
- getPosition() - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Get the position of the sensor, with the conversion factor applied
- getPosition() - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Get the position of the sensor, with the conversion factor applied
- getPosition() - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Get the position of the sensor, with the conversion factor applied
- getPosition() - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Get the position of the sensor, with the conversion factor applied
- getPosition() - Method in class com.revrobotics.sim.SparkRelativeEncoderSim
-
Get the position of the sensor, with the conversion factor applied
- getPosition() - Method in class com.revrobotics.spark.SparkAbsoluteEncoder
- getPosition() - Method in class com.revrobotics.spark.SparkAnalogSensor
-
Get the position of the sensor.
- getPosition() - Method in class com.revrobotics.spark.SparkFlexExternalEncoder
- getPosition() - Method in class com.revrobotics.spark.SparkMaxAlternateEncoder
- getPosition() - Method in class com.revrobotics.spark.SparkRelativeEncoder
- getPosition() - Method in class com.revrobotics.spark.SparkSim
-
Get the simulation position.
- getPositionConversionFactor() - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Get the position conversion factor of the sensor (1 by default)
- getPositionConversionFactor() - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Get the position conversion factor of the sensor (1 by default)
- getPositionConversionFactor() - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Get the position conversion factor of the sensor (1 by default)
- getPositionConversionFactor() - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Get the position conversion factor of the sensor (1 by default)
- getPositionConversionFactor() - Method in class com.revrobotics.sim.SparkRelativeEncoderSim
-
Get the position conversion factor of the sensor (1 by default)
- getPositionConversionFactor() - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfigAccessor
- getPositionConversionFactor() - Method in class com.revrobotics.spark.config.AlternateEncoderConfigAccessor
- getPositionConversionFactor() - Method in class com.revrobotics.spark.config.AnalogSensorConfigAccessor
- getPositionConversionFactor() - Method in class com.revrobotics.spark.config.EncoderConfigAccessor
- getPositionConversionFactor() - Method in class com.revrobotics.spark.config.ExternalEncoderConfigAccessor
- getPositionMode() - Method in class com.revrobotics.spark.config.MAXMotionConfigAccessor
- getPositionMode(ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.MAXMotionConfigAccessor
- getPositionWrappingEnabled() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getPositionWrappingMaxInput() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getPositionWrappingMinInput() - Method in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
- getPressed() - Method in class com.revrobotics.sim.SparkLimitSwitchSim
-
Get the state of the limit switch
- getPrimaryEncoderPositionAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getPrimaryEncoderPositionPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getPrimaryEncoderVelocityAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getPrimaryEncoderVelocityPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getProximity() - Method in class com.revrobotics.ColorSensorV3
-
Get the raw proximity value from the sensor ADC (11 bit).
- getQuadratureAverageDepth() - Method in class com.revrobotics.spark.config.EncoderConfigAccessor
- getQuadratureMeasurementPeriod() - Method in class com.revrobotics.spark.config.EncoderConfigAccessor
- getRawColor() - Method in class com.revrobotics.ColorSensorV3
-
Get the raw color values from their respective ADCs (20-bit).
- getRed() - Method in class com.revrobotics.ColorSensorV3
-
Get the raw color value from the red ADC
- getRelativeEncoderSim() - Method in class com.revrobotics.spark.SparkSim
-
Get the
SparkAbsoluteEncoderSim
object associated with this Spark Device. - getReverseLimitSwitch() - Method in class com.revrobotics.spark.SparkBase
-
Returns an object for interfacing with the reverse limit switch connected to the appropriate pins on the data port.
- getReverseLimitSwitch() - Method in class com.revrobotics.spark.SparkMax
- getReverseLimitSwitchEnabled() - Method in class com.revrobotics.spark.config.LimitSwitchConfigAccessor
- getReverseLimitSwitchSim() - Method in class com.revrobotics.spark.SparkSim
-
Get the Reverse
SparkLimitSwitchSim
object associated with this Spark Device. - getReverseSoftLimit() - Method in class com.revrobotics.spark.config.SoftLimitConfigAccessor
- getReverseSoftLimitEnabled() - Method in class com.revrobotics.spark.config.SoftLimitConfigAccessor
- getReverseSwitchType() - Method in class com.revrobotics.spark.config.LimitSwitchConfigAccessor
- getSafeFloat(float) - Method in class com.revrobotics.spark.SparkLowLevel
- getSecondaryCurrentLimit() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getSecondaryCurrentLimitChopCycles() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getSerialNumber() - Method in class com.revrobotics.spark.SparkLowLevel
-
Get the unique serial number of the SPARK.
- getSetpoint() - Method in class com.revrobotics.spark.SparkSim
-
Get the setpoint sent to the device
- getSmartCurrentFreeLimit() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getSmartCurrentLimit() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getSmartCurrentRPMLimit() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getStartPulseUs() - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfigAccessor
- getStickyFaults() - Method in class com.revrobotics.spark.SparkBase
-
Get the sticky faults that were present on the SPARK at one point since the sticky faults were last cleared.
- getStickyWarnings() - Method in class com.revrobotics.spark.SparkBase
-
Get the sticky warnings that were present on the SPARK at one point since the sticky warnings were last cleared.
- getUvwAverageDepth() - Method in class com.revrobotics.spark.config.EncoderConfigAccessor
- getUvwMeasurementPeriod() - Method in class com.revrobotics.spark.config.EncoderConfigAccessor
- getVelocity() - Method in interface com.revrobotics.AbsoluteEncoder
-
Get the velocity of the motor.
- getVelocity() - Method in interface com.revrobotics.RelativeEncoder
-
Get the velocity of the motor.
- getVelocity() - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Get the velocity of the sensor, with the conversion factor applied
- getVelocity() - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Get the velocity of the sensor, with the conversion factor applied
- getVelocity() - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Get the velocity of the sensor, with the conversion factor applied
- getVelocity() - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Get the velocity of the sensor, with the conversion factor applied
- getVelocity() - Method in class com.revrobotics.sim.SparkRelativeEncoderSim
-
Get the velocity of the sensor, with the conversion factor applied
- getVelocity() - Method in class com.revrobotics.spark.SparkAbsoluteEncoder
- getVelocity() - Method in class com.revrobotics.spark.SparkAnalogSensor
-
Get the velocity of the sensor.
- getVelocity() - Method in class com.revrobotics.spark.SparkFlexExternalEncoder
- getVelocity() - Method in class com.revrobotics.spark.SparkMaxAlternateEncoder
- getVelocity() - Method in class com.revrobotics.spark.SparkRelativeEncoder
- getVelocity() - Method in class com.revrobotics.spark.SparkSim
-
Get the simulation velocity.
- getVelocityConversionFactor() - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Get the velocity conversion factor of the sensor (1 by default)
- getVelocityConversionFactor() - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Get the velocity conversion factor of the sensor (1 by default)
- getVelocityConversionFactor() - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Get the velocity conversion factor of the sensor (1 by default)
- getVelocityConversionFactor() - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Get the velocity conversion factor of the sensor (1 by default)
- getVelocityConversionFactor() - Method in class com.revrobotics.sim.SparkRelativeEncoderSim
-
Get the velocity conversion factor of the sensor (1 by default)
- getVelocityConversionFactor() - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfigAccessor
- getVelocityConversionFactor() - Method in class com.revrobotics.spark.config.AlternateEncoderConfigAccessor
- getVelocityConversionFactor() - Method in class com.revrobotics.spark.config.AnalogSensorConfigAccessor
- getVelocityConversionFactor() - Method in class com.revrobotics.spark.config.EncoderConfigAccessor
- getVelocityConversionFactor() - Method in class com.revrobotics.spark.config.ExternalEncoderConfigAccessor
- getVoltage() - Method in interface com.revrobotics.AnalogInput
-
Get the voltage of the analog sensor.
- getVoltage() - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Get the voltage of the sensor
- getVoltage() - Method in class com.revrobotics.spark.SparkAnalogSensor
-
Get the voltage of the analog sensor.
- getVoltageCompensation() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getVoltageCompensationEnabled() - Method in class com.revrobotics.spark.config.SparkBaseConfigAccessor
- getWarnings() - Method in class com.revrobotics.spark.SparkBase
-
Get the active warnings that are currently present on the SPARK.
- getWarningsAlwaysOn() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getWarningsPeriodMs() - Method in class com.revrobotics.spark.config.SignalsConfigAccessor
- getX() - Method in class com.revrobotics.CIEColor
-
Get the X component of the color
- getY() - Method in class com.revrobotics.CIEColor
-
Get the Y component of the color
- getYx() - Method in class com.revrobotics.CIEColor
-
Get the x calculated coordinate of the CIE 19313 color space
- getYy() - Method in class com.revrobotics.CIEColor
-
Get the y calculated coordinate of the CIE 19313 color space
- getZ() - Method in class com.revrobotics.CIEColor
-
Get the Z component of the color
- getZeroOffset() - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Get the zero offset of the sensor
- getZeroOffset() - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Get the zero offset of the sensor
- getZeroOffset() - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Get the zero offset of the sensor
- green - Variable in class com.revrobotics.ColorSensorV3.RawColor
H
- hallSensorVelocity(double) - Static method in class com.revrobotics.sim.NoiseGenerator
- hasActiveFault() - Method in class com.revrobotics.spark.SparkBase
-
Get whether the SPARK has one or more active faults.
- hasActiveWarning() - Method in class com.revrobotics.spark.SparkBase
-
Get whether the SPARK has one or more active warnings.
- hasReset - Variable in class com.revrobotics.spark.SparkBase.Warnings
- hasReset() - Method in class com.revrobotics.ColorSensorV3
-
Indicates if the device reset.
- hasStickyFault() - Method in class com.revrobotics.spark.SparkBase
-
Get whether the SPARK has one or more sticky faults.
- hasStickyWarning() - Method in class com.revrobotics.spark.SparkBase
-
Get whether the SPARK has one or more sticky warnings.
I
- i(double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the integral gain of the controller.
- i(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the integral gain of the controller for a specific closed loop slot.
- iAccum - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus2
- iAccumulationAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set whether to always enable the status frame that provides the signal returned by
SparkClosedLoopController.getIAccum()
. - iAccumulationPeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
SparkClosedLoopController.getIAccum()
. - idleMode(SparkBaseConfig.IdleMode) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Sets the idle mode setting for the SPARK.
- iMaxAccum(double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the maximum I accumulator of the controller.
- iMaxAccum(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the maximum I accumulator of the controller for a specific closed loop slot.
- inverted(boolean) - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfig
-
Set the phase of the absolute encoder so that it is in phase with the motor itself.
- inverted(boolean) - Method in class com.revrobotics.spark.config.AlternateEncoderConfig
-
Set the phase of the alternate encoder so that it is in phase with the motor itself.
- inverted(boolean) - Method in class com.revrobotics.spark.config.AnalogSensorConfig
-
Set the phase of the analog sensor so that it is in phase with the motor itself.
- inverted(boolean) - Method in class com.revrobotics.spark.config.EncoderConfig
-
Set the phase of the encoder so that it is in phase with the motor itself.
- inverted(boolean) - Method in class com.revrobotics.spark.config.ExternalEncoderConfig
-
Set the phase of the external encoder so that it is in phase with the motor itself.
- inverted(boolean) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Common interface for inverting direction of a speed controller.
- ir - Variable in class com.revrobotics.ColorSensorV3.RawColor
- isClosed - Variable in class com.revrobotics.spark.SparkLowLevel
- isConnected() - Method in class com.revrobotics.ColorSensorV3
-
Indicates if the device can currently be communicated with.
- isFollower - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus0
- isFollower() - Method in class com.revrobotics.spark.SparkBase
-
Returns whether the controller is following another controller
- isInverted - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus0
- isPressed() - Method in class com.revrobotics.spark.SparkLimitSwitch
-
Returns
true
if the limit switch is pressed, based on the selected polarity. - iterate(double, double) - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Move the sensor at the input velocity
- iterate(double, double) - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Move the sensor at the input velocity
- iterate(double, double) - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Move the sensor at the input velocity
- iterate(double, double) - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Move the sensor at the input velocity
- iterate(double, double) - Method in class com.revrobotics.sim.SparkRelativeEncoderSim
-
Move the sensor at the input velocity
- iterate(double, double, double) - Method in class com.revrobotics.spark.SparkSim
-
Run internal calculations and set internal state.
- iZone(double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the integral zone of the controller.
- iZone(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the integral zone of the controller for a specific closed loop slot.
K
- kAbsoluteEncoder - Enum constant in enum class com.revrobotics.spark.config.ClosedLoopConfig.FeedbackSensor
- kAlternateOrExternalEncoder - Enum constant in enum class com.revrobotics.spark.config.ClosedLoopConfig.FeedbackSensor
- kAnalogSensor - Enum constant in enum class com.revrobotics.spark.config.ClosedLoopConfig.FeedbackSensor
- kAPIBuildVersion - Static variable in class com.revrobotics.spark.SparkLowLevel
- kAPIMajorVersion - Static variable in class com.revrobotics.spark.SparkLowLevel
- kAPIMinorVersion - Static variable in class com.revrobotics.spark.SparkLowLevel
- kAPIVersion - Static variable in class com.revrobotics.spark.SparkLowLevel
- kBrake - Enum constant in enum class com.revrobotics.spark.config.SparkBaseConfig.IdleMode
- kBrushed - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.MotorType
- kBrushless - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.MotorType
- kCANDisconnected - Enum constant in enum class com.revrobotics.REVLibError
- kCantFindFirmware - Enum constant in enum class com.revrobotics.REVLibError
- kCoast - Enum constant in enum class com.revrobotics.spark.config.SparkBaseConfig.IdleMode
- kColorRate1000ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorMeasurementRate
- kColorRate100ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorMeasurementRate
- kColorRate2000ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorMeasurementRate
- kColorRate200ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorMeasurementRate
- kColorRate25ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorMeasurementRate
- kColorRate500ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorMeasurementRate
- kColorRate50ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorMeasurementRate
- kColorSensorRes13bit - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorResolution
- kColorSensorRes16bit - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorResolution
- kColorSensorRes17bit - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorResolution
- kColorSensorRes18bit - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorResolution
- kColorSensorRes19bit - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorResolution
- kColorSensorRes20bit - Enum constant in enum class com.revrobotics.ColorSensorV3.ColorSensorResolution
- kCurrent - Enum constant in enum class com.revrobotics.spark.SparkBase.ControlType
- kDataBlue - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kDataGreen - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kDataInfrared - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kDataRed - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kDuplicateCANId - Enum constant in enum class com.revrobotics.REVLibError
- kDutyCycle - Enum constant in enum class com.revrobotics.spark.SparkBase.ControlType
- kError - Enum constant in enum class com.revrobotics.REVLibError
- kFeedbackSensorIncompatibleWithDataPortConfig - Enum constant in enum class com.revrobotics.REVLibError
- kFirmwareTooNew - Enum constant in enum class com.revrobotics.REVLibError
- kFirmwareTooOld - Enum constant in enum class com.revrobotics.REVLibError
- kFollowConfigMismatch - Enum constant in enum class com.revrobotics.REVLibError
- kFreq100kHz - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDPulseFrequency
- kFreq60kHz - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDPulseFrequency
- kFreq70kHz - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDPulseFrequency
- kFreq80kHz - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDPulseFrequency
- kFreq90kHz - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDPulseFrequency
- kGain18x - Enum constant in enum class com.revrobotics.ColorSensorV3.GainFactor
- kGain1x - Enum constant in enum class com.revrobotics.ColorSensorV3.GainFactor
- kGain3x - Enum constant in enum class com.revrobotics.ColorSensorV3.GainFactor
- kGain6x - Enum constant in enum class com.revrobotics.ColorSensorV3.GainFactor
- kGain9x - Enum constant in enum class com.revrobotics.ColorSensorV3.GainFactor
- kHALError - Enum constant in enum class com.revrobotics.REVLibError
- kInvalid - Enum constant in enum class com.revrobotics.REVLibError
- kInvalidBrushlessEncoderConfiguration - Enum constant in enum class com.revrobotics.REVLibError
- kInvalidCANId - Enum constant in enum class com.revrobotics.REVLibError
- kLightSensorEnable - Enum constant in enum class com.revrobotics.ColorSensorV3.MainControl
- kLightSensorGain - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kLightSensorMeasurementRate - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kMainCtrl - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kMainStatus - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kMAXMotionPositionControl - Enum constant in enum class com.revrobotics.spark.SparkBase.ControlType
- kMAXMotionTrapezoidal - Enum constant in enum class com.revrobotics.spark.config.MAXMotionConfig.MAXMotionPositionMode
- kMAXMotionVelocityControl - Enum constant in enum class com.revrobotics.spark.SparkBase.ControlType
- kNoPersistParameters - Enum constant in enum class com.revrobotics.spark.SparkBase.PersistMode
- kNoResetSafeParameters - Enum constant in enum class com.revrobotics.spark.SparkBase.ResetMode
- kNormallyClosed - Enum constant in enum class com.revrobotics.spark.config.LimitSwitchConfig.Type
- kNormallyOpen - Enum constant in enum class com.revrobotics.spark.config.LimitSwitchConfig.Type
- kNoSensor - Enum constant in enum class com.revrobotics.spark.config.ClosedLoopConfig.FeedbackSensor
- kNotImplemented - Enum constant in enum class com.revrobotics.REVLibError
- kOk - Enum constant in enum class com.revrobotics.REVLibError
- kParamAccessMode - Enum constant in enum class com.revrobotics.REVLibError
- kParamInvalid - Enum constant in enum class com.revrobotics.REVLibError
- kParamInvalidID - Enum constant in enum class com.revrobotics.REVLibError
- kParamMismatchType - Enum constant in enum class com.revrobotics.REVLibError
- kParamNotImplementedDeprecated - Enum constant in enum class com.revrobotics.REVLibError
- kPartID - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kPercentOut - Enum constant in enum class com.revrobotics.spark.SparkClosedLoopController.ArbFFUnits
- kPersistParameters - Enum constant in enum class com.revrobotics.spark.SparkBase.PersistMode
- kPosition - Enum constant in enum class com.revrobotics.spark.SparkBase.ControlType
- kPrimaryEncoder - Enum constant in enum class com.revrobotics.spark.config.ClosedLoopConfig.FeedbackSensor
- kProximityData - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kProximitySensorEnable - Enum constant in enum class com.revrobotics.ColorSensorV3.MainControl
- kProximitySensorLED - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kProximitySensorPulses - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kProximitySensorRate - Enum constant in enum class com.revrobotics.ColorSensorV3.Register
- kProxRate100ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ProximitySensorMeasurementRate
- kProxRate12ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ProximitySensorMeasurementRate
- kProxRate200ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ProximitySensorMeasurementRate
- kProxRate25ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ProximitySensorMeasurementRate
- kProxRate400ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ProximitySensorMeasurementRate
- kProxRate50ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ProximitySensorMeasurementRate
- kProxRate6ms - Enum constant in enum class com.revrobotics.ColorSensorV3.ProximitySensorMeasurementRate
- kProxRes10bit - Enum constant in enum class com.revrobotics.ColorSensorV3.ProximitySensorResolution
- kProxRes11bit - Enum constant in enum class com.revrobotics.ColorSensorV3.ProximitySensorResolution
- kProxRes8bit - Enum constant in enum class com.revrobotics.ColorSensorV3.ProximitySensorResolution
- kProxRes9bit - Enum constant in enum class com.revrobotics.ColorSensorV3.ProximitySensorResolution
- kPulse100mA - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDCurrent
- kPulse10mA - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDCurrent
- kPulse125mA - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDCurrent
- kPulse25mA - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDCurrent
- kPulse2mA - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDCurrent
- kPulse50mA - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDCurrent
- kPulse5mA - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDCurrent
- kPulse75mA - Enum constant in enum class com.revrobotics.ColorSensorV3.LEDCurrent
- kQuadrature - Enum constant in enum class com.revrobotics.spark.config.AlternateEncoderConfig.Type
- kQuadrature - Enum constant in enum class com.revrobotics.spark.config.ExternalEncoderConfig.Type
- kResetSafeParameters - Enum constant in enum class com.revrobotics.spark.SparkBase.ResetMode
- kRGBMode - Enum constant in enum class com.revrobotics.ColorSensorV3.MainControl
- kSetpointOutOfRange - Enum constant in enum class com.revrobotics.REVLibError
- kSlot0 - Enum constant in enum class com.revrobotics.spark.config.ClosedLoopConfig.ClosedLoopSlot
- kSlot1 - Enum constant in enum class com.revrobotics.spark.config.ClosedLoopConfig.ClosedLoopSlot
- kSlot2 - Enum constant in enum class com.revrobotics.spark.config.ClosedLoopConfig.ClosedLoopSlot
- kSlot3 - Enum constant in enum class com.revrobotics.spark.config.ClosedLoopConfig.ClosedLoopSlot
- kSmartMotion - Enum constant in enum class com.revrobotics.spark.SparkBase.ControlType
-
Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to migrate to MAXMotion instead.
- kSmartVelocity - Enum constant in enum class com.revrobotics.spark.SparkBase.ControlType
-
Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to migrate to MAXMotion Velocity mode instead.
- kSparkFlexBrushedWithoutDock - Enum constant in enum class com.revrobotics.REVLibError
- kSparkMaxDataPortAlreadyConfiguredDifferently - Enum constant in enum class com.revrobotics.REVLibError
- kStatus0 - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.PeriodicFrame
- kStatus1 - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.PeriodicFrame
- kStatus2 - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.PeriodicFrame
- kStatus3 - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.PeriodicFrame
- kStatus4 - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.PeriodicFrame
- kStatus5 - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.PeriodicFrame
- kStatus6 - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.PeriodicFrame
- kStatus7 - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.PeriodicFrame
- kTimeout - Enum constant in enum class com.revrobotics.REVLibError
- kUnknown - Enum constant in enum class com.revrobotics.REVLibError
- kVelocity - Enum constant in enum class com.revrobotics.spark.SparkBase.ControlType
- kVoltage - Enum constant in enum class com.revrobotics.spark.SparkBase.ControlType
- kVoltage - Enum constant in enum class com.revrobotics.spark.SparkClosedLoopController.ArbFFUnits
L
- limitsAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Deprecated.Calling this method will have no effect, as status 0 cannot be disabled.
- limitsPeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
SparkLimitSwitch.isPressed()
. - limitSwitch - Variable in class com.revrobotics.spark.config.SparkBaseConfig
- limitSwitch - Variable in class com.revrobotics.spark.config.SparkBaseConfigAccessor
-
Accessor for parameters relating to the hardware limit switches.
- LimitSwitchConfig - Class in com.revrobotics.spark.config
- LimitSwitchConfig() - Constructor for class com.revrobotics.spark.config.LimitSwitchConfig
- LimitSwitchConfig.Type - Enum Class in com.revrobotics.spark.config
- LimitSwitchConfigAccessor - Class in com.revrobotics.spark.config
- LimitSwitchConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.LimitSwitchConfigAccessor
- lock - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus0
M
- matchClosestColor(Color) - Method in class com.revrobotics.ColorMatch
-
MatchColor uses euclidean distance to compare a given normalized RGB vector against stored values
- matchColor(Color) - Method in class com.revrobotics.ColorMatch
-
MatchColor uses euclidean distance to compare a given normalized RGB vector against stored values
- maxAcceleration(double) - Method in class com.revrobotics.spark.config.MAXMotionConfig
-
Set the maximum acceleration for the MAXMotion mode of the controller.
- maxAcceleration(double) - Method in class com.revrobotics.spark.config.SmartMotionConfig
-
Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to migrate to MAXMotion instead.
- maxAcceleration(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.MAXMotionConfig
-
Set the maximum acceleration for the MAXMotion mode of the controller for a specific closed loop slot.
- maxAcceleration(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.SmartMotionConfig
-
Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to migrate to MAXMotion instead.
- maxMotion - Variable in class com.revrobotics.spark.config.ClosedLoopConfig
- maxMotion - Variable in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
-
Accessor for parameters relating to the MAXMotion.
- MAXMotionConfig - Class in com.revrobotics.spark.config
- MAXMotionConfig() - Constructor for class com.revrobotics.spark.config.MAXMotionConfig
- MAXMotionConfig.MAXMotionPositionMode - Enum Class in com.revrobotics.spark.config
- MAXMotionConfigAccessor - Class in com.revrobotics.spark.config
- MAXMotionConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.MAXMotionConfigAccessor
- maxOutput(double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the maximum output of the controller.
- maxOutput(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the maximum output of the controller for a specific closed loop slot.
- maxVelocity(double) - Method in class com.revrobotics.spark.config.MAXMotionConfig
-
Set the maximum velocity for the MAXMotion mode of the controller.
- maxVelocity(double) - Method in class com.revrobotics.spark.config.SmartMotionConfig
-
Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to migrate to MAXMotion instead.
- maxVelocity(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.MAXMotionConfig
-
Set the maximum velocity for the MAXMotion mode of the controller for a specific closed loop slot.
- maxVelocity(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.SmartMotionConfig
-
Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to migrate to MAXMotion instead.
- measurementPeriod(int) - Method in class com.revrobotics.spark.config.AlternateEncoderConfig
-
Set the position measurement period used to calculate the velocity of the alternate encoder.
- measurementPeriod(int) - Method in class com.revrobotics.spark.config.ExternalEncoderConfig
-
Set the position measurement period used to calculate the velocity of the external encoder.
- minOutput(double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the minimum output of the controller.
- minOutput(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the minimum output of the controller for a specific closed loop slot.
- minOutputVelocity(double) - Method in class com.revrobotics.spark.config.SmartMotionConfig
-
Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to migrate to MAXMotion instead.
- minOutputVelocity(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.SmartMotionConfig
-
Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to migrate to MAXMotion instead.
- motorTemperature - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus1
- motorTemperatureAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Deprecated.Calling this method will have no effect, as status 0 cannot be disabled.
- motorTemperaturePeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
CANSparkBase.getMotorTemperature()
. - motorType - Variable in class com.revrobotics.spark.SparkBase.Faults
- motorType - Variable in class com.revrobotics.spark.SparkLowLevel
- motorType - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus0
- MovingAverageFilterSim - Class in com.revrobotics.sim
-
Simulate a moving average filter where samples are normally at some fixed rate that is different than the rate provided by the simulation.
- MovingAverageFilterSim(int, double) - Constructor for class com.revrobotics.sim.MovingAverageFilterSim
-
Create a MovingAverageFilterSim object.
N
- NoiseGenerator - Class in com.revrobotics.sim
- NoiseGenerator() - Constructor for class com.revrobotics.sim.NoiseGenerator
O
- OFF - Enum constant in enum class com.revrobotics.ColorSensorV3.MainControl
- openLoopRampRate(double) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Sets the ramp rate for open loop control modes.
- other - Variable in class com.revrobotics.spark.SparkBase.Faults
- other - Variable in class com.revrobotics.spark.SparkBase.Warnings
- outputCurrent - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus1
- outputCurrentAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Deprecated.Calling this method will have no effect, as status 0 cannot be disabled.
- outputCurrentPeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
CANSparkBase.getOutputCurrent()
. - outputRange(double, double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the output range of the controller.
- outputRange(double, double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the output range of the controller for a specific closed loop slot.
- overcurrent - Variable in class com.revrobotics.spark.SparkBase.Warnings
P
- p(double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the proportional gain of the controller.
- p(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the proportional gain of the controller for a specific closed loop slot.
- pauseFollowerMode() - Method in class com.revrobotics.spark.SparkBase
-
Pause follower mode.
- PeriodicStatus0() - Constructor for class com.revrobotics.spark.SparkLowLevel.PeriodicStatus0
- PeriodicStatus1() - Constructor for class com.revrobotics.spark.SparkLowLevel.PeriodicStatus1
- PeriodicStatus2() - Constructor for class com.revrobotics.spark.SparkLowLevel.PeriodicStatus2
- pid(double, double, double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the PID gains of the controller.
- pid(double, double, double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the PID gains of the controller for a specific closed loop slot.
- pidf(double, double, double, double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the PIDF gains of the controller.
- pidf(double, double, double, double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the PIDF gains of the controller for a specific closed loop slot.
- positionConversionFactor(double) - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfig
-
Set the conversion factor for the position of the absolute encoder.
- positionConversionFactor(double) - Method in class com.revrobotics.spark.config.AlternateEncoderConfig
-
Set the conversion factor for the position of the alternate encoder.
- positionConversionFactor(double) - Method in class com.revrobotics.spark.config.AnalogSensorConfig
-
Set the conversion factor for the position of the analog sensor.
- positionConversionFactor(double) - Method in class com.revrobotics.spark.config.EncoderConfig
-
Set the conversion factor for the position of the encoder.
- positionConversionFactor(double) - Method in class com.revrobotics.spark.config.ExternalEncoderConfig
-
Set the conversion factor for the position of the external encoder.
- positionMode(MAXMotionConfig.MAXMotionPositionMode) - Method in class com.revrobotics.spark.config.MAXMotionConfig
-
Set the MAXMotion position control mode of the controller.
- positionMode(MAXMotionConfig.MAXMotionPositionMode, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.MAXMotionConfig
-
Set the MAXMotion position control mode of the controller for a specific closed loop slot.
- positionWrappingEnabled(boolean) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Enable or disable PID wrapping for position closed loop control.
- positionWrappingInputRange(double, double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the input range for PID wrapping with position closed loop control
- positionWrappingMaxInput(double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the maximum input value for PID wrapping with position closed loop control
- positionWrappingMinInput(double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the minimum input value for PID wrapping with position closed loop control.
- primaryEncoderPositionAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set whether to always enable the status frame that provides the signal returned by
SparkRelativeEncoder.getPosition()
. - primaryEncoderPositionPeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
SparkRelativeEncoder.getPosition()
. - primaryEncoderVelocityAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set whether to always enable the status frame that provides the signal returned by
SparkRelativeEncoder.getVelocity()
. - primaryEncoderVelocityPeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
SparkRelativeEncoder.getVelocity()
. - put(double, double) - Method in class com.revrobotics.sim.MovingAverageFilterSim
-
Put a new measurement into the moving average filter.
Q
- quadratureAverageDepth(int) - Method in class com.revrobotics.spark.config.EncoderConfig
-
Set the sampling depth of the velocity calculation process of the encoder.
- quadratureMeasurementPeriod(int) - Method in class com.revrobotics.spark.config.EncoderConfig
-
Set the position measurement period used to calculate the velocity of the encoder.
R
- RawColor(int, int, int, int) - Constructor for class com.revrobotics.ColorSensorV3.RawColor
- red - Variable in class com.revrobotics.ColorSensorV3.RawColor
- RelativeEncoder - Interface in com.revrobotics
-
Get an instance of this interface by using
SparkBase.getEncoder()
,SparkMax.getAlternateEncoder()
, orSparkFlex.getExternalEncoder()
. - resumeFollowerMode() - Method in class com.revrobotics.spark.SparkBase
-
Resume follower mode if the SPARK has a valid follower mode config.
- reverseLimitSwitch - Variable in class com.revrobotics.spark.SparkBase
- reverseLimitSwitchEnabled(boolean) - Method in class com.revrobotics.spark.config.LimitSwitchConfig
-
Set whether to enable or disable motor shutdown based on the reverse limit switch state.
- reverseLimitSwitchLock - Variable in class com.revrobotics.spark.SparkBase
- reverseLimitSwitchType(LimitSwitchConfig.Type) - Method in class com.revrobotics.spark.config.LimitSwitchConfig
-
Set the normal state of the reverse limit switch.
- reverseSoftLimit(double) - Method in class com.revrobotics.spark.config.SoftLimitConfig
-
Set the reverse soft limit based on the position of the selected feedback sensor.
- reverseSoftLimitEnabled(boolean) - Method in class com.revrobotics.spark.config.SoftLimitConfig
-
Set whether to enable or disable the reverse soft limit.
- RevJNIWrapper - Class in com.revrobotics.jni
- RevJNIWrapper() - Constructor for class com.revrobotics.jni.RevJNIWrapper
- REVLibError - Enum Class in com.revrobotics
- REVLibJNI - Class in com.revrobotics.jni
- REVLibJNI() - Constructor for class com.revrobotics.jni.REVLibJNI
- roboRIO - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus0
- RunSWDL(String) - Static method in class com.revrobotics.jni.CANSWDLJNI
-
Begin the software update for the sparks.
S
- secondaryCurrentLimit(double) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Sets the secondary current limit in Amps.
- secondaryCurrentLimit(double, int) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Sets the secondary current limit in Amps.
- sensor - Variable in class com.revrobotics.spark.SparkBase.Faults
- sensor - Variable in class com.revrobotics.spark.SparkBase.Warnings
- sensorPosition - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus2
- sensorVelocity - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus1
- set(double) - Method in class com.revrobotics.spark.SparkBase
-
Common interface for setting the speed of a speed controller.
- setAppliedOutput(double) - Method in class com.revrobotics.spark.SparkSim
-
Set the simulated applied output.
- setBusVoltage(double) - Method in class com.revrobotics.spark.SparkSim
-
Set the simulated bus voltage.
- setCANMaxRetries(int) - Method in class com.revrobotics.spark.SparkLowLevel
-
Set the maximum number of times to retry an RTR CAN frame.
- setCANTimeout(int) - Method in class com.revrobotics.spark.SparkBase
-
Sets timeout for sending CAN messages with SetParameter* and GetParameter* calls.
- setConfidenceThreshold(double) - Method in class com.revrobotics.ColorMatch
-
Set the confidence interval for determining color.
- setControlFramePeriodMs(int) - Method in class com.revrobotics.spark.SparkLowLevel
-
Set the control frame send period for the native CAN Send thread.
- setFaults(SparkBase.Faults) - Method in class com.revrobotics.sim.SparkSimFaultManager
-
Set the state of the simulated faults of the device.
- setIAccum(double) - Method in class com.revrobotics.spark.SparkClosedLoopController
-
Set the I accumulator of the closed loop controller.
- setInverted(boolean) - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Set the inversion state of the sensor
- setInverted(boolean) - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Set the inversion state of the sensor
- setInverted(boolean) - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Set the inversion state of the sensor
- setInverted(boolean) - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Set the inversion state of the sensor
- setInverted(boolean) - Method in class com.revrobotics.sim.SparkRelativeEncoderSim
-
Set the inversion state of the sensor
- setInverted(boolean) - Method in class com.revrobotics.spark.SparkBase
-
Common interface for inverting direction of a speed controller.
- setMotorCurrent(double) - Method in class com.revrobotics.spark.SparkSim
-
Set the simulated motor current.
- setPeriodicFrameTimeout(int) - Method in class com.revrobotics.spark.SparkLowLevel
-
Set the amount of time to wait for a periodic status frame before returning a timeout error.
- setPosition(double) - Method in interface com.revrobotics.RelativeEncoder
-
Set the position of the encoder.
- setPosition(double) - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Set the position of the sensor, after your conversion factor
- setPosition(double) - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Set the position of the sensor, after your conversion factor
- setPosition(double) - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Set the position of the sensor, after your conversion factor
- setPosition(double) - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Set the position of the sensor, after your conversion factor
- setPosition(double) - Method in class com.revrobotics.sim.SparkRelativeEncoderSim
-
Set the position of the sensor, after your conversion factor
- setPosition(double) - Method in class com.revrobotics.spark.SparkFlexExternalEncoder
- setPosition(double) - Method in class com.revrobotics.spark.SparkMaxAlternateEncoder
- setPosition(double) - Method in class com.revrobotics.spark.SparkRelativeEncoder
- setPosition(double) - Method in class com.revrobotics.spark.SparkSim
-
Set the simulated position.
- setPositionConversionFactor(double) - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Set the position conversion factor of the sensor (1 by default)
- setPositionConversionFactor(double) - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Set the position conversion factor of the sensor (1 by default)
- setPositionConversionFactor(double) - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Set the position conversion factor of the sensor (1 by default)
- setPositionConversionFactor(double) - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Set the position conversion factor of the sensor (1 by default)
- setPositionConversionFactor(double) - Method in class com.revrobotics.sim.SparkRelativeEncoderSim
-
Set the position conversion factor of the sensor (1 by default)
- setPressed(boolean) - Method in class com.revrobotics.sim.SparkLimitSwitchSim
-
Set the state of the limit switch
- setReference(double, SparkBase.ControlType) - Method in class com.revrobotics.spark.SparkClosedLoopController
-
Set the controller reference value based on the selected control mode.
- setReference(double, SparkBase.ControlType, int) - Method in class com.revrobotics.spark.SparkClosedLoopController
-
Set the controller reference value based on the selected control mode.
- setReference(double, SparkBase.ControlType, int, double) - Method in class com.revrobotics.spark.SparkClosedLoopController
-
Set the controller reference value based on the selected control mode.
- setReference(double, SparkBase.ControlType, int, double, SparkClosedLoopController.ArbFFUnits) - Method in class com.revrobotics.spark.SparkClosedLoopController
-
Set the controller reference value based on the selected control mode.
- setSparkMaxDataPortConfig() - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfig
-
Configures the data port to use the absolute encoder, which is specifically required for SPARK MAX.
- setSparkMaxDataPortConfig() - Method in class com.revrobotics.spark.config.AlternateEncoderConfig
-
Configures the data port to use the alternate encoder, which is specifically required for SPARK MAX.
- setSparkMaxDataPortConfig() - Method in class com.revrobotics.spark.config.LimitSwitchConfig
-
Configures the data port to use limit switches, which is specifically required for SPARK MAX.
- setStickyFaults(SparkBase.Faults) - Method in class com.revrobotics.sim.SparkSimFaultManager
-
Set the state of the simulated sticky faults of the device.
- setStickyWarnings(SparkBase.Warnings) - Method in class com.revrobotics.sim.SparkSimFaultManager
-
Set the state of the simulated sticky warnings of the device.
- setVelocity(double) - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Set the velocity of the sensor, after the conversion factor
- setVelocity(double) - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Set the velocity of the sensor, after the conversion factor
- setVelocity(double) - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Set the velocity of the sensor, after the conversion factor
- setVelocity(double) - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Set the velocity of the sensor, after the conversion factor
- setVelocity(double) - Method in class com.revrobotics.sim.SparkRelativeEncoderSim
-
Set the velocity of the sensor, after the conversion factor
- setVelocity(double) - Method in class com.revrobotics.spark.SparkSim
-
Set the simulation velocity.
- setVelocityConversionFactor(double) - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Set the velocity conversion factor of the sensor (1 by default)
- setVelocityConversionFactor(double) - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Set the velocity conversion factor of the sensor (1 by default)
- setVelocityConversionFactor(double) - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Set the velocity conversion factor of the sensor (1 by default)
- setVelocityConversionFactor(double) - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Set the velocity conversion factor of the sensor (1 by default)
- setVelocityConversionFactor(double) - Method in class com.revrobotics.sim.SparkRelativeEncoderSim
-
Set the velocity conversion factor of the sensor (1 by default)
- setVoltage(double) - Method in class com.revrobotics.sim.SparkAnalogSensorSim
-
Set the voltage of the sensor
- setVoltage(double) - Method in class com.revrobotics.spark.SparkBase
-
Sets the voltage output of the SpeedController.
- setWarnings(SparkBase.Warnings) - Method in class com.revrobotics.sim.SparkSimFaultManager
-
Set the state of the simulated warnings of the device.
- setZeroOffset(double) - Method in class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Set the zero offset of the sensor
- setZeroOffset(double) - Method in class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Set the zero offset of the sensor
- setZeroOffset(double) - Method in class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Set the zero offset of the sensor
- signals - Variable in class com.revrobotics.spark.config.SparkBaseConfig
- signals - Variable in class com.revrobotics.spark.config.SparkBaseConfigAccessor
-
Accessor for parameters relating to the Status Signals.
- SignalsConfig - Class in com.revrobotics.spark.config
- SignalsConfig() - Constructor for class com.revrobotics.spark.config.SignalsConfig
- SignalsConfigAccessor - Class in com.revrobotics.spark.config
- SignalsConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.SignalsConfigAccessor
- smartCurrentLimit(int) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Sets the current limit in Amps.
- smartCurrentLimit(int, int) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Sets the current limit in Amps.
- smartCurrentLimit(int, int, int) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Sets the current limit in Amps.
- smartMotion - Variable in class com.revrobotics.spark.config.ClosedLoopConfig
- smartMotion - Variable in class com.revrobotics.spark.config.ClosedLoopConfigAccessor
-
Accessor for parameters relating to the Software Limits.
- SmartMotionConfig - Class in com.revrobotics.spark.config
- SmartMotionConfig() - Constructor for class com.revrobotics.spark.config.SmartMotionConfig
- SmartMotionConfigAccessor - Class in com.revrobotics.spark.config
- SmartMotionConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.SmartMotionConfigAccessor
- softLimit - Variable in class com.revrobotics.spark.config.SparkBaseConfig
- softLimit - Variable in class com.revrobotics.spark.config.SparkBaseConfigAccessor
-
Accessor for parameters relating to the Software Limits.
- SoftLimitConfig - Class in com.revrobotics.spark.config
- SoftLimitConfig() - Constructor for class com.revrobotics.spark.config.SoftLimitConfig
- SoftLimitConfigAccessor - Class in com.revrobotics.spark.config
- SoftLimitConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.SoftLimitConfigAccessor
- SparkAbsoluteEncoder - Class in com.revrobotics.spark
- SparkAbsoluteEncoderSim - Class in com.revrobotics.sim
- SparkAbsoluteEncoderSim(SparkFlex) - Constructor for class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Create a Spark Absolute Encoder simulation object for a Spark Flex.
- SparkAbsoluteEncoderSim(SparkMax) - Constructor for class com.revrobotics.sim.SparkAbsoluteEncoderSim
-
Create a Spark Absolute Encoder simulation object for a Spark MAX.
- SparkAnalogSensor - Class in com.revrobotics.spark
-
Get an instance of this class by using
SparkBase.getAnalog()
. - SparkAnalogSensorSim - Class in com.revrobotics.sim
- SparkAnalogSensorSim(SparkFlex) - Constructor for class com.revrobotics.sim.SparkAnalogSensorSim
-
Create a Spark Absolute Encoder simulation object for a Spark Flex.
- SparkAnalogSensorSim(SparkMax) - Constructor for class com.revrobotics.sim.SparkAnalogSensorSim
-
Create a Spark Analog Sensor simulation object for a Spark MAX.
- SparkBase - Class in com.revrobotics.spark
- SparkBase(int, SparkLowLevel.MotorType, SparkLowLevel.SparkModel) - Constructor for class com.revrobotics.spark.SparkBase
-
Create a new object to control a SPARK motor Controller
- SparkBase.ControlType - Enum Class in com.revrobotics.spark
- SparkBase.Faults - Class in com.revrobotics.spark
- SparkBase.PersistMode - Enum Class in com.revrobotics.spark
- SparkBase.ResetMode - Enum Class in com.revrobotics.spark
- SparkBase.Warnings - Class in com.revrobotics.spark
- SparkBaseConfig - Class in com.revrobotics.spark.config
- SparkBaseConfig() - Constructor for class com.revrobotics.spark.config.SparkBaseConfig
- SparkBaseConfig.IdleMode - Enum Class in com.revrobotics.spark.config
- SparkBaseConfigAccessor - Class in com.revrobotics.spark.config
- SparkBaseConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.SparkBaseConfigAccessor
- SparkClosedLoopController - Class in com.revrobotics.spark
-
Get an instance of this class by using
SparkBase.getClosedLoopController()
. - SparkClosedLoopController.ArbFFUnits - Enum Class in com.revrobotics.spark
- SparkFlex - Class in com.revrobotics.spark
- SparkFlex - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.SparkModel
- SparkFlex(int, SparkLowLevel.MotorType) - Constructor for class com.revrobotics.spark.SparkFlex
-
Create a new object to control a SPARK Flex motor Controller
- SparkFlexConfig - Class in com.revrobotics.spark.config
- SparkFlexConfig() - Constructor for class com.revrobotics.spark.config.SparkFlexConfig
- SparkFlexConfigAccessor - Class in com.revrobotics.spark.config
- SparkFlexConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.SparkFlexConfigAccessor
-
Not intended for team use.
- SparkFlexExternalEncoder - Class in com.revrobotics.spark
- SparkFlexExternalEncoderSim - Class in com.revrobotics.sim
- SparkFlexExternalEncoderSim(SparkFlex) - Constructor for class com.revrobotics.sim.SparkFlexExternalEncoderSim
-
Create a Spark Flex External Encoder simulation object for a Spark Flex.
- SparkFlexSim - Class in com.revrobotics.sim
- SparkFlexSim(SparkFlex, DCMotor) - Constructor for class com.revrobotics.sim.SparkFlexSim
-
Create a simulated CAN Spark Flex object.
- sparkHandle - Variable in class com.revrobotics.spark.SparkLowLevel
- SparkLimitSwitch - Class in com.revrobotics.spark
-
Get an instance of this class by using
SparkBase.getForwardLimitSwitch()
orSparkBase.getReverseLimitSwitch()
. - SparkLimitSwitchSim - Class in com.revrobotics.sim
- SparkLimitSwitchSim(SparkFlex, boolean) - Constructor for class com.revrobotics.sim.SparkLimitSwitchSim
-
Create a Limit Switch simulation object for a Spark Flex.
- SparkLimitSwitchSim(SparkMax, boolean) - Constructor for class com.revrobotics.sim.SparkLimitSwitchSim
-
Create a Limit Switch simulation object for a Spark MAX.
- SparkLowLevel - Class in com.revrobotics.spark
- SparkLowLevel.MotorType - Enum Class in com.revrobotics.spark
- SparkLowLevel.PeriodicFrame - Enum Class in com.revrobotics.spark
- SparkLowLevel.PeriodicStatus0 - Class in com.revrobotics.spark
- SparkLowLevel.PeriodicStatus1 - Class in com.revrobotics.spark
- SparkLowLevel.PeriodicStatus2 - Class in com.revrobotics.spark
- SparkLowLevel.SparkModel - Enum Class in com.revrobotics.spark
- SparkMax - Class in com.revrobotics.spark
- SparkMax - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.SparkModel
- SparkMax(int, SparkLowLevel.MotorType) - Constructor for class com.revrobotics.spark.SparkMax
-
Create a new object to control a SPARK MAX motor Controller
- SparkMaxAlternateEncoder - Class in com.revrobotics.spark
- SparkMaxAlternateEncoderSim - Class in com.revrobotics.sim
- SparkMaxAlternateEncoderSim(SparkMax) - Constructor for class com.revrobotics.sim.SparkMaxAlternateEncoderSim
-
Create a Spark MAX Alternate Encoder simulation object for a Spark MAX.
- SparkMaxConfig - Class in com.revrobotics.spark.config
- SparkMaxConfig() - Constructor for class com.revrobotics.spark.config.SparkMaxConfig
- SparkMaxConfigAccessor - Class in com.revrobotics.spark.config
- SparkMaxConfigAccessor(long) - Constructor for class com.revrobotics.spark.config.SparkMaxConfigAccessor
-
Not intended for team use.
- SparkMaxSim - Class in com.revrobotics.sim
- SparkMaxSim(SparkMax, DCMotor) - Constructor for class com.revrobotics.sim.SparkMaxSim
-
Create a simulated CAN Spark MAX object.
- SparkRelativeEncoder - Class in com.revrobotics.spark
-
Get an instance of this class by using
SparkBase.getEncoder()
. - SparkRelativeEncoderSim - Class in com.revrobotics.sim
- SparkRelativeEncoderSim(SparkFlex) - Constructor for class com.revrobotics.sim.SparkRelativeEncoderSim
-
Create a Spark Absolute Encoder simulation object for a Spark Flex.
- SparkRelativeEncoderSim(SparkMax) - Constructor for class com.revrobotics.sim.SparkRelativeEncoderSim
-
Create a Spark Absolute Encoder simulation object for a Spark MAX.
- SparkSim - Class in com.revrobotics.spark
- SparkSim(SparkBase, DCMotor) - Constructor for class com.revrobotics.spark.SparkSim
-
Create a simulated CAN Spark Max or Flex object.
- SparkSimFaultManager - Class in com.revrobotics.sim
- SparkSimFaultManager(SparkFlex) - Constructor for class com.revrobotics.sim.SparkSimFaultManager
-
Create a Fault Manager object, which allows you to set the status of simulated faults on your simulated Spark Flex.
- SparkSimFaultManager(SparkMax) - Constructor for class com.revrobotics.sim.SparkSimFaultManager
-
Create a Fault Manager object, which allows you to get and set the status of simulated faults on your simulated Spark MAX.
- stall - Variable in class com.revrobotics.spark.SparkBase.Warnings
- startPulseUs(double) - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfig
-
Set the length of the start pulse for this encoder.
- stickyFaults - Variable in class com.revrobotics.spark.SparkLowLevel.PeriodicStatus0
- stopMotor() - Method in class com.revrobotics.spark.SparkBase
T
- temperature - Variable in class com.revrobotics.spark.SparkBase.Faults
- throwIfClosed() - Method in class com.revrobotics.spark.SparkLowLevel
U
- Unknown - Enum constant in enum class com.revrobotics.spark.SparkLowLevel.SparkModel
- useDriverStationEnable() - Method in class com.revrobotics.spark.SparkSim
-
Use the driver station enable as the method to enable/disable the Spark Max.
- uvwAverageDepth(int) - Method in class com.revrobotics.spark.config.EncoderConfig
-
Set the sampling depth of the velocity calculation process of the encoder.
- uvwMeasurementPeriod(int) - Method in class com.revrobotics.spark.config.EncoderConfig
-
Set the position measurement period used to calculate the velocity of the encoder.
V
- value - Variable in enum class com.revrobotics.REVLibError
- value - Variable in enum class com.revrobotics.spark.config.AlternateEncoderConfig.Type
- value - Variable in enum class com.revrobotics.spark.config.ClosedLoopConfig.ClosedLoopSlot
- value - Variable in enum class com.revrobotics.spark.config.ClosedLoopConfig.FeedbackSensor
- value - Variable in enum class com.revrobotics.spark.config.ExternalEncoderConfig.Type
- value - Variable in enum class com.revrobotics.spark.config.LimitSwitchConfig.Type
- value - Variable in enum class com.revrobotics.spark.config.MAXMotionConfig.MAXMotionPositionMode
- value - Variable in enum class com.revrobotics.spark.config.SparkBaseConfig.IdleMode
- value - Variable in enum class com.revrobotics.spark.SparkBase.ControlType
- value - Variable in enum class com.revrobotics.spark.SparkBase.PersistMode
- value - Variable in enum class com.revrobotics.spark.SparkBase.ResetMode
- value - Variable in enum class com.revrobotics.spark.SparkClosedLoopController.ArbFFUnits
- value - Variable in enum class com.revrobotics.spark.SparkLowLevel.MotorType
- value - Variable in enum class com.revrobotics.spark.SparkLowLevel.PeriodicFrame
- valueOf(String) - Static method in enum class com.revrobotics.ColorSensorV3.ColorSensorMeasurementRate
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.ColorSensorV3.ColorSensorResolution
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.ColorSensorV3.GainFactor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.ColorSensorV3.LEDCurrent
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.ColorSensorV3.LEDPulseFrequency
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.ColorSensorV3.MainControl
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.ColorSensorV3.ProximitySensorMeasurementRate
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.ColorSensorV3.ProximitySensorResolution
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.ColorSensorV3.Register
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.REVLibError
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.config.AlternateEncoderConfig.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.config.ClosedLoopConfig.ClosedLoopSlot
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.config.ClosedLoopConfig.FeedbackSensor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.config.ExternalEncoderConfig.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.config.LimitSwitchConfig.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.config.MAXMotionConfig.MAXMotionPositionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.config.SparkBaseConfig.IdleMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.SparkBase.ControlType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.SparkBase.PersistMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.SparkBase.ResetMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.SparkClosedLoopController.ArbFFUnits
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.SparkLowLevel.MotorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.SparkLowLevel.PeriodicFrame
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.revrobotics.spark.SparkLowLevel.SparkModel
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.revrobotics.ColorSensorV3.ColorSensorMeasurementRate
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.ColorSensorV3.ColorSensorResolution
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.ColorSensorV3.GainFactor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.ColorSensorV3.LEDCurrent
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.ColorSensorV3.LEDPulseFrequency
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.ColorSensorV3.MainControl
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.ColorSensorV3.ProximitySensorMeasurementRate
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.ColorSensorV3.ProximitySensorResolution
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.ColorSensorV3.Register
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.REVLibError
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.config.AlternateEncoderConfig.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.config.ClosedLoopConfig.ClosedLoopSlot
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.config.ClosedLoopConfig.FeedbackSensor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.config.ExternalEncoderConfig.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.config.LimitSwitchConfig.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.config.MAXMotionConfig.MAXMotionPositionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.config.SparkBaseConfig.IdleMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.SparkBase.ControlType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.SparkBase.PersistMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.SparkBase.ResetMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.SparkClosedLoopController.ArbFFUnits
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.SparkLowLevel.MotorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.SparkLowLevel.PeriodicFrame
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.revrobotics.spark.SparkLowLevel.SparkModel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- velocityConversionFactor(double) - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfig
-
Set the conversion factor for the velocity of the absolute encoder.
- velocityConversionFactor(double) - Method in class com.revrobotics.spark.config.AlternateEncoderConfig
-
Set the conversion factor for the velocity of the alternate encoder.
- velocityConversionFactor(double) - Method in class com.revrobotics.spark.config.AnalogSensorConfig
-
Set the conversion factor for the velocity of the analog sensor.
- velocityConversionFactor(double) - Method in class com.revrobotics.spark.config.EncoderConfig
-
Set the conversion factor for the velocity of the encoder.
- velocityConversionFactor(double) - Method in class com.revrobotics.spark.config.ExternalEncoderConfig
-
Set the conversion factor for the velocity of the external encoder.
- velocityFF(double) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the velocity feedforward gain of the controller.
- velocityFF(double, ClosedLoopConfig.ClosedLoopSlot) - Method in class com.revrobotics.spark.config.ClosedLoopConfig
-
Set the velocity feedforward gain of the controller for a specific closed loop slot.
- voltageCompensation(double) - Method in class com.revrobotics.spark.config.SparkBaseConfig
-
Sets the voltage compensation setting for all modes on the SPARK and enables voltage compensation.
W
- Warnings(int) - Constructor for class com.revrobotics.spark.SparkBase.Warnings
- warningsAlwaysOn(boolean) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set whether to always enable the status frame that provides the signal returned by
CANSparkBase.getWarnings()
andCANSparkBase.getStickyWarnings()
. - warningsPeriodMs(int) - Method in class com.revrobotics.spark.config.SignalsConfig
-
Set the period (ms) of the status frame that provides the signal returned by
CANSparkBase.getWarnings()
andCANSparkBase.getStickyWarnings()
. - whiteNoise(double, double) - Static method in class com.revrobotics.sim.NoiseGenerator
Z
- zeroOffset(double) - Method in class com.revrobotics.spark.config.AbsoluteEncoderConfig
-
Set the zero offset of the absolute encoder, the position that is reported as zero.
All Classes and Interfaces|All Packages