Class SensorUtil
java.lang.Object
org.wpilib.system.SensorUtil
Stores most recent status information as well as containing utility functions for checking
channels and error processing.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNumber of SmartIo Ports.static final intNumber of PCM Modules.static final intNumber of power distribution channels per PDP.static final intNumber of power distribution modules per PDP.static final intNumber of solenoid channels per module.static final intNumber of power distribution channels per PH.static final intNumber of PH modules. -
Method Summary
Modifier and TypeMethodDescriptionstatic intGet the number of the default solenoid module.static intGet the number of the default solenoid module.
-
Field Details
-
kSmartIoPorts
Number of SmartIo Ports. -
NUM_CTRE_SOLENOID_CHANNELS
Number of solenoid channels per module. -
NUM_CTRE_PDP_CHANNELS
Number of power distribution channels per PDP. -
NUM_CTRE_PDP_MODULES
Number of power distribution modules per PDP. -
NUM_CTRE_PCM_MODULES
Number of PCM Modules. -
NUM_REV_PH_CHANNELS
Number of power distribution channels per PH. -
NUM_REV_PH_MODULES
Number of PH modules.
-
-
Method Details
-
getDefaultCTREPCMModule
Get the number of the default solenoid module.- Returns:
- The number of the default solenoid module.
-
getDefaultREVPHModule
Get the number of the default solenoid module.- Returns:
- The number of the default solenoid module.
-