Enum ForwardLimitSourceValue
Determines where to poll the forward limit switch. This defaults to the forward limit switch pin on the limit switch connector.
Choose RemoteTalonFX to use the forward limit switch attached to another Talon FX on the same CAN bus (this also requires setting ForwardLimitRemoteSensorID). Choose RemoteCANifier to use the forward limit switch attached to another CANifier on the same CAN bus (this also requires setting ForwardLimitRemoteSensorID). Choose RemoteCANcoder to use another CANcoder on the same CAN bus (this also requires setting ForwardLimitRemoteSensorID). The forward limit will assert when the CANcoder magnet strength changes from BAD (red) to ADEQUATE (orange) or GOOD (green).public enum ForwardLimitSourceValue
- Extension Methods
Fields
Disabled = 3Disable the forward limit switch.
LimitSwitchPin = 0Use the forward limit switch pin on the limit switch connector.
RemoteCANcoder = 4Use another CANcoder on the same CAN bus (this also requires setting ForwardLimitRemoteSensorID). The forward limit will assert when the CANcoder magnet strength changes from BAD (red) to ADEQUATE (orange) or GOOD (green).
RemoteCANdiS1 = 7Use another CTR Electronics' CANdi™ on the same CAN bus (this also requires setting ForwardLimitRemoteSensorID). The forward limit will assert when the CTR Electronics' CANdi™ Signal 1 Input (S1IN) pin matches the configured closed state.
RemoteCANdiS2 = 8Use another CTR Electronics' CANdi™ on the same CAN bus (this also requires setting ForwardLimitRemoteSensorID). The forward limit will assert when the CTR Electronics' CANdi™ Signal 2 Input (S2IN) pin matches the configured closed state.
RemoteCANifier = 2Use the forward limit switch attached to another CANifier on the same CAN bus (this also requires setting ForwardLimitRemoteSensorID).
RemoteCANrange = 6Use another CANrange on the same CAN bus (this also requires setting ForwardLimitRemoteSensorID). The forward limit will assert when the CANrange proximity detect is tripped.
RemoteTalonFX = 1Use the forward limit switch attached to another Talon FX on the same CAN bus (this also requires setting ForwardLimitRemoteSensorID).