blob: 473f6a7a5da6f229d7316afe76c33ec8bb577333 [file] [log] [blame]
#pragma once
#include <stdint.h>
namespace ctre {
namespace phoenix {
/**
* Signal enumeration for generic signal access.
*/
enum ParamEnum
: uint32_t
{
eOnBoot_BrakeMode = 31,
eQuadFilterEn = 91,
eQuadIdxPolarity=108,
eClearPositionOnIdx = 100,
eMotionProfileHasUnderrunErr = 119,
eMotionProfileTrajectoryPointDurationMs = 120,
eClearPosOnLimitF = 144,
eClearPosOnLimitR = 145,
eStatusFramePeriod = 300,
eOpenloopRamp = 301,
eClosedloopRamp = 302,
eNeutralDeadband = 303,
ePeakPosOutput = 305,
eNominalPosOutput = 306,
ePeakNegOutput = 307,
eNominalNegOutput = 308,
eProfileParamSlot_P = 310,
eProfileParamSlot_I = 311,
eProfileParamSlot_D = 312,
eProfileParamSlot_F = 313,
eProfileParamSlot_IZone = 314,
eProfileParamSlot_AllowableErr = 315,
eProfileParamSlot_MaxIAccum = 316,
eProfileParamSlot_PeakOutput = 317,
eClearPositionOnLimitF = 320,
eClearPositionOnLimitR = 321,
eClearPositionOnQuadIdx = 322,
eSampleVelocityPeriod = 325,
eSampleVelocityWindow = 326,
eFeedbackSensorType = 330, // feedbackDevice_t
eSelectedSensorPosition = 331,
eFeedbackNotContinuous = 332,
eRemoteSensorSource = 333, // RemoteSensorSource_t
eRemoteSensorDeviceID = 334, // [0,62] DeviceID
eSensorTerm = 335, // feedbackDevice_t (ordinal is the register)
eRemoteSensorClosedLoopDisableNeutralOnLOS = 336,
ePIDLoopPolarity = 337,
ePIDLoopPeriod = 338,
eSelectedSensorCoefficient = 339,
eForwardSoftLimitThreshold = 340,
eReverseSoftLimitThreshold = 341,
eForwardSoftLimitEnable = 342,
eReverseSoftLimitEnable = 343,
eNominalBatteryVoltage = 350,
eBatteryVoltageFilterSize = 351,
eContinuousCurrentLimitAmps = 360,
ePeakCurrentLimitMs = 361,
ePeakCurrentLimitAmps = 362,
eClosedLoopIAccum = 370,
eCustomParam = 380,
eStickyFaults = 390,
eAnalogPosition = 400,
eQuadraturePosition = 401,
ePulseWidthPosition = 402,
eMotMag_Accel = 410,
eMotMag_VelCruise = 411,
eLimitSwitchSource = 421, // ordinal (fwd=0,reverse=1), @see LimitSwitchSource_t
eLimitSwitchNormClosedAndDis = 422, // ordinal (fwd=0,reverse=1). @see LimitSwitchNormClosedAndDis_t
eLimitSwitchDisableNeutralOnLOS = 423,
eLimitSwitchRemoteDevID = 424,
eSoftLimitDisableNeutralOnLOS = 425,
ePulseWidthPeriod_EdgesPerRot = 430,
ePulseWidthPeriod_FilterWindowSz = 431,
eYawOffset =160,
eCompassOffset = 161,
eBetaGain = 162,
eEnableCompassFusion = 163,
eGyroNoMotionCal = 164,
eEnterCalibration = 165,
eFusedHeadingOffset = 166,
eStatusFrameRate = 169,
eAccumZ = 170,
eTempCompDisable = 171,
eMotionMeas_tap_threshX = 172,
eMotionMeas_tap_threshY = 173,
eMotionMeas_tap_threshZ = 174,
eMotionMeas_tap_count = 175,
eMotionMeas_tap_time = 176,
eMotionMeas_tap_time_multi = 177,
eMotionMeas_shake_reject_thresh = 178,
eMotionMeas_shake_reject_time = 179,
eMotionMeas_shake_reject_timeout = 180,
};
}
}