CTRE_Phoenix 5.20.2
|
#include <LimitSwitchType.h>
Static Public Member Functions | |
static LimitSwitchSource | Promote (RemoteLimitSwitchSource limitSwitchSource) |
static bool | IsRemote (LimitSwitchSource limitSwitchSource) |
static std::string | toString (LimitSwitchSource value) |
static std::string | toString (RemoteLimitSwitchSource value) |
static std::string | toString (LimitSwitchNormal value) |
Class to handle various functions regarding limit switches
|
inlinestatic |
Checks if a limit switch is one of the remote values (i.e. RemoteTalonSRX or RemoteCANifier)
limitSwitchSource | limitSwitchSource to check |
|
inlinestatic |
Takes a RemoteLimitSwitchSource and brings it up to a LimitSwitchSource
limitSwitchSource | LimitSwitchSource to promote |
|
inlinestatic |
value | LimitSwitchNormal to get the string value of |
|
inlinestatic |
value | LimitSwitchSource to get the string value of |
|
inlinestatic |
value | LimitSwitchSource to get the string value of |