Brian Silverman | 890a32a | 2018-03-11 15:41:56 -0700 | [diff] [blame^] | 1 | package com.ctre.phoenix; |
| 2 | |
| 3 | public enum ParamEnum |
| 4 | { |
| 5 | eOnBoot_BrakeMode ( 31), |
| 6 | eQuadFilterEn ( 91), |
| 7 | eQuadIdxPolarity(108), |
| 8 | eClearPositionOnIdx (100), |
| 9 | eMotionProfileHasUnderrunErr (119), |
| 10 | eClearPosOnLimitF (144), |
| 11 | eClearPosOnLimitR (145), |
| 12 | |
| 13 | eStatusFramePeriod(300), |
| 14 | eOpenloopRamp(301), |
| 15 | eClosedloopRamp(302), |
| 16 | eNeutralDeadband(303), |
| 17 | |
| 18 | ePeakPosOutput(305), |
| 19 | eNominalPosOutput(306), |
| 20 | ePeakNegOutput(307), |
| 21 | eNominalNegOutput(308), |
| 22 | |
| 23 | eProfileParamSlot_P(310), |
| 24 | eProfileParamSlot_I(311), |
| 25 | eProfileParamSlot_D(312), |
| 26 | eProfileParamSlot_F(313), |
| 27 | eProfileParamSlot_IZone(314), |
| 28 | eProfileParamSlot_AllowableErr(315), |
| 29 | eProfileParamSlot_MaxIAccum(316), |
| 30 | eProfileParamSlot_PeakOutput(317), |
| 31 | |
| 32 | eClearPositionOnLimitF(320), |
| 33 | eClearPositionOnLimitR(321), |
| 34 | eClearPositionOnQuadIdx(322), |
| 35 | |
| 36 | eSampleVelocityPeriod(325), |
| 37 | eSampleVelocityWindow(326), |
| 38 | |
| 39 | eFeedbackSensorType(330), |
| 40 | eSelectedSensorPosition(331), |
| 41 | eFeedbackNotContinuous (332), |
| 42 | eRemoteSensorSource (333), // RemoteSensorSource_t |
| 43 | eRemoteSensorDeviceID (334), // [0,62] DeviceID |
| 44 | eSensorTerm (335), // feedbackDevice_t (ordinal is the register) |
| 45 | eRemoteSensorClosedLoopDisableNeutralOnLOS (336), |
| 46 | ePIDLoopPolarity(337), |
| 47 | ePIDLoopPeriod(338), |
| 48 | eSelectedSensorCoefficient(339), |
| 49 | |
| 50 | eForwardSoftLimitThreshold(340), |
| 51 | eReverseSoftLimitThreshold(341), |
| 52 | eForwardSoftLimitEnable(342), |
| 53 | eReverseSoftLimitEnable(343), |
| 54 | |
| 55 | eNominalBatteryVoltage(350), |
| 56 | eBatteryVoltageFilterSize(351), |
| 57 | |
| 58 | eContinuousCurrentLimitAmps(360), |
| 59 | ePeakCurrentLimitMs(361), |
| 60 | ePeakCurrentLimitAmps(362), |
| 61 | |
| 62 | eClosedLoopIAccum(370), |
| 63 | |
| 64 | eCustomParam(380), |
| 65 | |
| 66 | eStickyFaults(390), |
| 67 | |
| 68 | eAnalogPosition(400), |
| 69 | eQuadraturePosition(401), |
| 70 | ePulseWidthPosition(402), |
| 71 | |
| 72 | eMotMag_Accel(410), |
| 73 | eMotMag_VelCruise(411), |
| 74 | |
| 75 | eLimitSwitchSource (421), // ordinal (fwd=0,reverse=1), @see LimitSwitchSource_t |
| 76 | eLimitSwitchNormClosedAndDis ( 422), // ordinal (fwd=0,reverse=1). @see LimitSwitchNormClosedAndDis_t |
| 77 | eLimitSwitchDisableNeutralOnLOS ( 423), |
| 78 | eLimitSwitchRemoteDevID ( 424), |
| 79 | eSoftLimitDisableNeutralOnLOS(425), |
| 80 | |
| 81 | ePulseWidthPeriod_EdgesPerRot(430), |
| 82 | ePulseWidthPeriod_FilterWindowSz(431), |
| 83 | |
| 84 | eYawOffset(160), |
| 85 | eCompassOffset(161), |
| 86 | eBetaGain(162), |
| 87 | eEnableCompassFusion(163), |
| 88 | eGyroNoMotionCal ( 164), |
| 89 | eEnterCalibration ( 165), |
| 90 | eFusedHeadingOffset ( 166), |
| 91 | eStatusFrameRate ( 169), |
| 92 | eAccumZ ( 170), |
| 93 | eTempCompDisable ( 171), |
| 94 | eMotionMeas_tap_threshX ( 172), |
| 95 | eMotionMeas_tap_threshY ( 173), |
| 96 | eMotionMeas_tap_threshZ ( 174), |
| 97 | eMotionMeas_tap_count ( 175), |
| 98 | eMotionMeas_tap_time ( 176), |
| 99 | eMotionMeas_tap_time_multi ( 177), |
| 100 | eMotionMeas_shake_reject_thresh ( 178), |
| 101 | eMotionMeas_shake_reject_time ( 179), |
| 102 | eMotionMeas_shake_reject_timeout ( 180); |
| 103 | |
| 104 | public final int value; |
| 105 | ParamEnum(int initValue) |
| 106 | { |
| 107 | this.value = initValue; |
| 108 | } |
| 109 | }; |