CTRE_Phoenix 5.20.2
|
Public Member Functions | |
LimitSwitchSource (int value) | |
RemoteLimitSwitchSource | getRemote () |
String | toString () |
Static Public Member Functions | |
[static initializer] | |
static LimitSwitchSource | valueOf (int value) |
static LimitSwitchSource | valueOf (double value) |
Public Attributes | |
FeedbackConnector =(0) | |
RemoteTalon =(1) | |
RemoteTalonSRX =(1) | |
RemoteCANifier =(2) | |
Deactivated =(3) | |
final int | value |
Choose the limit switch source for a motor controller
|
inline |
Create LimitSwitchSource of specified value
value | Value of LimitSwitchSource |
|
inlinestatic |
static c'tor, prepare the map
|
inline |
|
inline |
|
inlinestatic |
Get LimitSwitchSource of specified value
value | Value of LimitSwitchSource |
|
inlinestatic |
Get LimitSwitchSource of specified value
value | Value of LimitSwitchSource |
com.ctre.phoenix.motorcontrol.LimitSwitchSource.Deactivated =(3) |
Don't use a limit switch
com.ctre.phoenix.motorcontrol.LimitSwitchSource.FeedbackConnector =(0) |
Use a limit switch connected directly to the motor controller
com.ctre.phoenix.motorcontrol.LimitSwitchSource.RemoteCANifier =(2) |
Use the limit switch connected to a CANifier
com.ctre.phoenix.motorcontrol.LimitSwitchSource.RemoteTalon =(1) |
Use the limit switch connected to a Talon
com.ctre.phoenix.motorcontrol.LimitSwitchSource.RemoteTalonSRX =(1) |
Use the limit switch connected to a TalonSRX
final int com.ctre.phoenix.motorcontrol.LimitSwitchSource.value |
Value of LimitSwitchSource