REVLib - C++
SparkParameters.h File Reference

Go to the source code of this file.

Namespaces

namespace  rev
 
namespace  rev::spark
 

Enumerations

enum  rev::spark::SparkParameter : uint8_t {
  rev::spark::kCanID = 0 , rev::spark::kInputMode = 1 , rev::spark::kMotorType = 2 , rev::spark::kCommAdvance = 3 ,
  rev::spark::kSensorType = 4 , rev::spark::kCtrlType = 5 , rev::spark::kIdleMode = 6 , rev::spark::kInputDeadband = 7 ,
  rev::spark::kLegacyFeedbackSensorPID0 = 8 , rev::spark::kClosedLoopControlSensor = 9 , rev::spark::kPolePairs = 10 , rev::spark::kCurrentChop = 11 ,
  rev::spark::kCurrentChopCycles = 12 , rev::spark::kP_0 = 13 , rev::spark::kI_0 = 14 , rev::spark::kD_0 = 15 ,
  rev::spark::kF_0 = 16 , rev::spark::kIZone_0 = 17 , rev::spark::kDFilter_0 = 18 , rev::spark::kOutputMin_0 = 19 ,
  rev::spark::kOutputMax_0 = 20 , rev::spark::kP_1 = 21 , rev::spark::kI_1 = 22 , rev::spark::kD_1 = 23 ,
  rev::spark::kF_1 = 24 , rev::spark::kIZone_1 = 25 , rev::spark::kDFilter_1 = 26 , rev::spark::kOutputMin_1 = 27 ,
  rev::spark::kOutputMax_1 = 28 , rev::spark::kP_2 = 29 , rev::spark::kI_2 = 30 , rev::spark::kD_2 = 31 ,
  rev::spark::kF_2 = 32 , rev::spark::kIZone_2 = 33 , rev::spark::kDFilter_2 = 34 , rev::spark::kOutputMin_2 = 35 ,
  rev::spark::kOutputMax_2 = 36 , rev::spark::kP_3 = 37 , rev::spark::kI_3 = 38 , rev::spark::kD_3 = 39 ,
  rev::spark::kF_3 = 40 , rev::spark::kIZone_3 = 41 , rev::spark::kDFilter_3 = 42 , rev::spark::kOutputMin_3 = 43 ,
  rev::spark::kOutputMax_3 = 44 , rev::spark::kInverted = 45 , rev::spark::kOutputRatio = 46 , rev::spark::kSerialNumberLow = 47 ,
  rev::spark::kSerialNumberMid = 48 , rev::spark::kSerialNumberHigh = 49 , rev::spark::kLimitSwitchFwdPolarity = 50 , rev::spark::kLimitSwitchRevPolarity = 51 ,
  rev::spark::kHardLimitFwdEn = 52 , rev::spark::kHardLimitRevEn = 53 , rev::spark::kSoftLimitFwdEn = 54 , rev::spark::kSoftLimitRevEn = 55 ,
  rev::spark::kRampRate = 56 , rev::spark::kFollowerID = 57 , rev::spark::kFollowerConfig = 58 , rev::spark::kSmartCurrentStallLimit = 59 ,
  rev::spark::kSmartCurrentFreeLimit = 60 , rev::spark::kSmartCurrentConfig = 61 , rev::spark::kSmartCurrentReserved = 62 , rev::spark::kMotorKv = 63 ,
  rev::spark::kMotorR = 64 , rev::spark::kMotorL = 65 , rev::spark::kMotorRsvd1 = 66 , rev::spark::kMotorRsvd2 = 67 ,
  rev::spark::kMotorRsvd3 = 68 , rev::spark::kEncoderCountsPerRev = 69 , rev::spark::kEncoderAverageDepth = 70 , rev::spark::kEncoderSampleDelta = 71 ,
  rev::spark::kEncoderInverted = 72 , rev::spark::kEncoderRsvd1 = 73 , rev::spark::kVoltageCompMode = 74 , rev::spark::kCompensatedNominalVoltage = 75 ,
  rev::spark::kSmartMotionMaxVelocity_0 = 76 , rev::spark::kSmartMotionMaxAccel_0 = 77 , rev::spark::kSmartMotionMinVelOutput_0 = 78 , rev::spark::kSmartMotionAllowedClosedLoopError_0 = 79 ,
  rev::spark::kSmartMotionAccelStrategy_0 = 80 , rev::spark::kSmartMotionMaxVelocity_1 = 81 , rev::spark::kSmartMotionMaxAccel_1 = 82 , rev::spark::kSmartMotionMinVelOutput_1 = 83 ,
  rev::spark::kSmartMotionAllowedClosedLoopError_1 = 84 , rev::spark::kSmartMotionAccelStrategy_1 = 85 , rev::spark::kSmartMotionMaxVelocity_2 = 86 , rev::spark::kSmartMotionMaxAccel_2 = 87 ,
  rev::spark::kSmartMotionMinVelOutput_2 = 88 , rev::spark::kSmartMotionAllowedClosedLoopError_2 = 89 , rev::spark::kSmartMotionAccelStrategy_2 = 90 , rev::spark::kSmartMotionMaxVelocity_3 = 91 ,
  rev::spark::kSmartMotionMaxAccel_3 = 92 , rev::spark::kSmartMotionMinVelOutput_3 = 93 , rev::spark::kSmartMotionAllowedClosedLoopError_3 = 94 , rev::spark::kSmartMotionAccelStrategy_3 = 95 ,
  rev::spark::kIMaxAccum_0 = 96 , rev::spark::kSlot3Placeholder1_0 = 97 , rev::spark::kSlot3Placeholder2_0 = 98 , rev::spark::kSlot3Placeholder3_0 = 99 ,
  rev::spark::kIMaxAccum_1 = 100 , rev::spark::kSlot3Placeholder1_1 = 101 , rev::spark::kSlot3Placeholder2_1 = 102 , rev::spark::kSlot3Placeholder3_1 = 103 ,
  rev::spark::kIMaxAccum_2 = 104 , rev::spark::kSlot3Placeholder1_2 = 105 , rev::spark::kSlot3Placeholder2_2 = 106 , rev::spark::kSlot3Placeholder3_2 = 107 ,
  rev::spark::kIMaxAccum_3 = 108 , rev::spark::kSlot3Placeholder1_3 = 109 , rev::spark::kSlot3Placeholder2_3 = 110 , rev::spark::kSlot3Placeholder3_3 = 111 ,
  rev::spark::kPositionConversionFactor = 112 , rev::spark::kVelocityConversionFactor = 113 , rev::spark::kClosedLoopRampRate = 114 , rev::spark::kSoftLimitFwd = 115 ,
  rev::spark::kSoftLimitRev = 116 , rev::spark::kSoftLimitRsvd0 = 117 , rev::spark::kSoftLimitRsvd1 = 118 , rev::spark::kAnalogRevPerVolt = 119 ,
  rev::spark::kAnalogRotationsPerVoltSec = 120 , rev::spark::kAnalogAverageDepth = 121 , rev::spark::kAnalogSensorMode = 122 , rev::spark::kAnalogInverted = 123 ,
  rev::spark::kAnalogSampleDelta = 124 , rev::spark::kAnalogRsvd0 = 125 , rev::spark::kAnalogRsvd1 = 126 , rev::spark::kDataPortConfig = 127 ,
  rev::spark::kAltEncoderCountsPerRev = 128 , rev::spark::kAltEncoderAverageDepth = 129 , rev::spark::kAltEncoderSampleDelta = 130 , rev::spark::kAltEncoderInverted = 131 ,
  rev::spark::kAltEncodePositionFactor = 132 , rev::spark::kAltEncoderVelocityFactor = 133 , rev::spark::kAltEncoderRsvd0 = 134 , rev::spark::kAltEncoderRsvd1 = 135 ,
  rev::spark::kHallSensorSampleRate = 136 , rev::spark::kHallSensorAverageDepth = 137 , rev::spark::kNumParameters = 138 , rev::spark::kDutyCyclePositionFactor = 139 ,
  rev::spark::kDutyCycleVelocityFactor = 140 , rev::spark::kDutyCycleInverted = 141 , rev::spark::kDutyCycleSensorMode = 142 , rev::spark::kDutyCycleAverageDepth = 143 ,
  rev::spark::kDutyCycleSampleDelta = 144 , rev::spark::kDutyCycleOffsetv1p6p2 = 145 , rev::spark::kDutyCycleRsvd0 = 146 , rev::spark::kDutyCycleRsvd1 = 147 ,
  rev::spark::kDutyCycleRsvd2 = 148 , rev::spark::kPositionPIDWrapEnable = 149 , rev::spark::kPositionPIDMinInput = 150 , rev::spark::kPositionPIDMaxInput = 151 ,
  rev::spark::kDutyCycleZeroCentered = 152 , rev::spark::kDutyCyclePrescaler = 153 , rev::spark::kDutyCycleOffset = 154 , rev::spark::kProductId = 155 ,
  rev::spark::kDeviceMajorVersion = 156 , rev::spark::kDeviceMinorVersion = 157 , rev::spark::kStatus0Period = 158 , rev::spark::kStatus1Period = 159 ,
  rev::spark::kStatus2Period = 160 , rev::spark::kStatus3Period = 161 , rev::spark::kStatus4Period = 162 , rev::spark::kStatus5Period = 163 ,
  rev::spark::kStatus6Period = 164 , rev::spark::kStatus7Period = 165 , rev::spark::kMAXMotionMaxVelocity_0 = 166 , rev::spark::kMAXMotionMaxAccel_0 = 167 ,
  rev::spark::kMAXMotionMaxJerk_0 = 168 , rev::spark::kMAXMotionAllowedClosedLoopError_0 = 169 , rev::spark::kMAXMotionPositionMode_0 = 170 , rev::spark::kMAXMotionMaxVelocity_1 = 171 ,
  rev::spark::kMAXMotionMaxAccel_1 = 172 , rev::spark::kMAXMotionMaxJerk_1 = 173 , rev::spark::kMAXMotionAllowedClosedLoopError_1 = 174 , rev::spark::kMAXMotionPositionMode_1 = 175 ,
  rev::spark::kMAXMotionMaxVelocity_2 = 176 , rev::spark::kMAXMotionMaxAccel_2 = 177 , rev::spark::kMAXMotionMaxJerk_2 = 178 , rev::spark::kMAXMotionAllowedClosedLoopError_2 = 179 ,
  rev::spark::kMAXMotionPositionMode_2 = 180 , rev::spark::kMAXMotionMaxVelocity_3 = 181 , rev::spark::kMAXMotionMaxAccel_3 = 182 , rev::spark::kMAXMotionMaxJerk_3 = 183 ,
  rev::spark::kMAXMotionAllowedClosedLoopError_3 = 184 , rev::spark::kMAXMotionPositionMode_3 = 185 , rev::spark::kForceEnableStatus0 = 186 , rev::spark::kForceEnableStatus1 = 187 ,
  rev::spark::kForceEnableStatus2 = 188 , rev::spark::kForceEnableStatus3 = 189 , rev::spark::kForceEnableStatus4 = 190 , rev::spark::kForceEnableStatus5 = 191 ,
  rev::spark::kForceEnableStatus6 = 192 , rev::spark::kForceEnableStatus7 = 193 , rev::spark::kFollowerModeLeaderId = 194 , rev::spark::kFollowerModeIsInverted = 195 ,
  rev::spark::kDutyCycleEncoderStartPulseUs = 196 , rev::spark::kDutyCycleEncoderEndPulseUs = 197
}