Constant Field Values
Contents
edu.wpi.*
-
edu.wpi.first.apriltag.AprilTagFields Modifier and Type Constant Field Value public static final String
kBaseResourceDir
"/edu/wpi/first/apriltag/"
-
edu.wpi.first.cameraserver.CameraServer Modifier and Type Constant Field Value public static final int
kBasePort
1181
-
edu.wpi.first.cscore.VideoCamera.WhiteBalance Modifier and Type Constant Field Value public static final int
kFixedFlourescent2
5200
public static final int
kFixedFluorescent1
5100
public static final int
kFixedIndoor
3000
public static final int
kFixedOutdoor1
4000
public static final int
kFixedOutdoor2
5000
-
edu.wpi.first.hal.AnalogJNI.AnalogTriggerType Modifier and Type Constant Field Value public static final int
kFallingPulse
3
public static final int
kInWindow
0
public static final int
kRisingPulse
2
public static final int
kState
1
-
edu.wpi.first.hal.CounterJNI Modifier and Type Constant Field Value public static final int
EXTERNAL_DIRECTION
3
public static final int
PULSE_LENGTH
2
public static final int
SEMI_PERIOD
1
public static final int
TWO_PULSE
0
-
edu.wpi.first.hal.DriverStationJNI Modifier and Type Constant Field Value public static final int
kBlue1AllianceStation
4
public static final int
kBlue2AllianceStation
5
public static final int
kBlue3AllianceStation
6
public static final int
kMaxJoystickAxes
12
public static final int
kMaxJoystickPOVs
12
public static final int
kMaxJoysticks
6
public static final int
kRed1AllianceStation
1
public static final int
kRed2AllianceStation
2
public static final int
kRed3AllianceStation
3
public static final int
kUnknownAllianceStation
0
-
edu.wpi.first.hal.FRCNetComm.tInstances Modifier and Type Constant Field Value public static final int
kADXL345_I2C
2
public static final int
kADXL345_SPI
1
public static final int
kCANPlugin_2CAN
2
public static final int
kCANPlugin_BlackJagBridge
1
public static final int
kCommand_Scheduler
1
public static final int
kCommand2_Scheduler
2
public static final int
kDriverStationCIO_Analog
1
public static final int
kDriverStationCIO_DigitalIn
2
public static final int
kDriverStationCIO_DigitalOut
3
public static final int
kDriverStationEIO_Acceleration
1
public static final int
kDriverStationEIO_AnalogIn
2
public static final int
kDriverStationEIO_AnalogOut
3
public static final int
kDriverStationEIO_Button
4
public static final int
kDriverStationEIO_DigitalIn
6
public static final int
kDriverStationEIO_DigitalOut
7
public static final int
kDriverStationEIO_Encoder
10
public static final int
kDriverStationEIO_FixedDigitalOut
8
public static final int
kDriverStationEIO_LED
5
public static final int
kDriverStationEIO_PWM
9
public static final int
kDriverStationEIO_TouchSlider
11
public static final int
kFramework_AdvantageKit
7
public static final int
kFramework_CommandControl
3
public static final int
kFramework_Iterative
1
public static final int
kFramework_RobotBuilder
6
public static final int
kFramework_ROS
5
public static final int
kFramework_Simple
2
public static final int
kFramework_Timed
4
public static final int
kKinematics_DifferentialDrive
1
public static final int
kKinematics_MecanumDrive
2
public static final int
kKinematics_SwerveDrive
3
public static final int
kLanguage_CPlusPlus
2
public static final int
kLanguage_DotNet
5
public static final int
kLanguage_Java
3
public static final int
kLanguage_Kotlin
6
public static final int
kLanguage_LabVIEW
1
public static final int
kLanguage_Python
4
public static final int
kOdometry_DifferentialDrive
1
public static final int
kOdometry_MecanumDrive
2
public static final int
kOdometry_SwerveDrive
3
public static final int
kRobotDrive_ArcadeButtonSpin
2
public static final int
kRobotDrive_ArcadeRatioCurve
3
public static final int
kRobotDrive_ArcadeStandard
1
public static final int
kRobotDrive_MecanumCartesian
6
public static final int
kRobotDrive_MecanumPolar
5
public static final int
kRobotDrive_Tank
4
public static final int
kRobotDrive2_DifferentialArcade
7
public static final int
kRobotDrive2_DifferentialCurvature
9
public static final int
kRobotDrive2_DifferentialTank
8
public static final int
kRobotDrive2_KilloughCartesian
12
public static final int
kRobotDrive2_KilloughPolar
13
public static final int
kRobotDrive2_MecanumCartesian
10
public static final int
kRobotDrive2_MecanumPolar
11
public static final int
kSmartDashboard_Instance
1
public static final int
kSmartDashboard_LiveWindow
2
-
edu.wpi.first.hal.FRCNetComm.tResourceType Modifier and Type Constant Field Value public static final int
kResourceType_Accelerometer
4
public static final int
kResourceType_AddressableLEDs
92
public static final int
kResourceType_ADIS16448
58
public static final int
kResourceType_ADIS16470
84
public static final int
kResourceType_ADXL345
5
public static final int
kResourceType_ADXL362
53
public static final int
kResourceType_ADXRS450
54
public static final int
kResourceType_AnalogChannel
6
public static final int
kResourceType_AnalogOutput
49
public static final int
kResourceType_AnalogTrigger
7
public static final int
kResourceType_AnalogTriggerOutput
8
public static final int
kResourceType_AxisCamera
41
public static final int
kResourceType_Button
39
public static final int
kResourceType_CAN
79
public static final int
kResourceType_CANifier
63
public static final int
kResourceType_CANJaguar
9
public static final int
kResourceType_CANPlugin
3
public static final int
kResourceType_CANTalonSRX
52
public static final int
kResourceType_Command
40
public static final int
kResourceType_Compressor
10
public static final int
kResourceType_Controller
0
public static final int
kResourceType_Counter
11
public static final int
kResourceType_CTRE_future1
65
public static final int
kResourceType_CTRE_future10
97
public static final int
kResourceType_CTRE_future11
98
public static final int
kResourceType_CTRE_future12
99
public static final int
kResourceType_CTRE_future13
100
public static final int
kResourceType_CTRE_future14
101
public static final int
kResourceType_CTRE_future2
66
public static final int
kResourceType_CTRE_future3
67
public static final int
kResourceType_CTRE_future4
68
public static final int
kResourceType_CTRE_future5
69
public static final int
kResourceType_CTRE_future6
70
public static final int
kResourceType_CTRE_future7
94
public static final int
kResourceType_CTRE_future8
95
public static final int
kResourceType_CTRE_future9
96
public static final int
kResourceType_Dashboard
12
public static final int
kResourceType_DigilentDMC60
80
public static final int
kResourceType_DigitalGlitchFilter
57
public static final int
kResourceType_DigitalInput
13
public static final int
kResourceType_DigitalOutput
14
public static final int
kResourceType_DriverStationCIO
15
public static final int
kResourceType_DriverStationEIO
16
public static final int
kResourceType_DriverStationLCD
17
public static final int
kResourceType_DutyCycle
91
public static final int
kResourceType_Encoder
18
public static final int
kResourceType_ExponentialProfile
102
public static final int
kResourceType_Framework
22
public static final int
kResourceType_FusionVenom
93
public static final int
kResourceType_GearTooth
19
public static final int
kResourceType_Gyro
20
public static final int
kResourceType_HiTechnicAccel
46
public static final int
kResourceType_HiTechnicColorSensor
45
public static final int
kResourceType_HiTechnicCompass
47
public static final int
kResourceType_I2C
21
public static final int
kResourceType_Jaguar
23
public static final int
kResourceType_Joystick
24
public static final int
kResourceType_Kinect
25
public static final int
kResourceType_KinectStick
26
public static final int
kResourceType_Kinematics
87
public static final int
kResourceType_Language
2
public static final int
kResourceType_LinearFilter
71
public static final int
kResourceType_MindsensorsSD540
56
public static final int
kResourceType_Module
1
public static final int
kResourceType_NavX
74
public static final int
kResourceType_NidecBrushless
62
public static final int
kResourceType_Odometry
88
public static final int
kResourceType_PathFindingCommand
108
public static final int
kResourceType_PathPlannerAuto
107
public static final int
kResourceType_PathPlannerPath
106
public static final int
kResourceType_PCM
60
public static final int
kResourceType_PCVideoServer
42
public static final int
kResourceType_PDP
59
public static final int
kResourceType_PhotonCamera
104
public static final int
kResourceType_PhotonPoseEstimator
105
public static final int
kResourceType_PIDController
27
public static final int
kResourceType_PIDController2
85
public static final int
kResourceType_PigeonIMU
61
public static final int
kResourceType_Pixy
75
public static final int
kResourceType_Pixy2
76
public static final int
kResourceType_Preferences
28
public static final int
kResourceType_ProfiledPIDController
86
public static final int
kResourceType_PS4Controller
103
public static final int
kResourceType_PWM
29
public static final int
kResourceType_PWMTalonSRX
51
public static final int
kResourceType_PWMVictorSPX
81
public static final int
kResourceType_Redux_future1
109
public static final int
kResourceType_Redux_future2
110
public static final int
kResourceType_Redux_future3
111
public static final int
kResourceType_Redux_future4
112
public static final int
kResourceType_Redux_future5
113
public static final int
kResourceType_Relay
30
public static final int
kResourceType_RevSPARK
55
public static final int
kResourceType_RevSparkFlexCAN
114
public static final int
kResourceType_RevSparkFlexPWM
115
public static final int
kResourceType_RevSparkMaxCAN
83
public static final int
kResourceType_RevSparkMaxPWM
82
public static final int
kResourceType_RobotDrive
31
public static final int
kResourceType_ScanseSweep
77
public static final int
kResourceType_SerialPort
32
public static final int
kResourceType_Servo
33
public static final int
kResourceType_Shuffleboard
78
public static final int
kResourceType_SmartDashboard
43
public static final int
kResourceType_Solenoid
34
public static final int
kResourceType_SPI
35
public static final int
kResourceType_SRF08
48
public static final int
kResourceType_Talon
44
public static final int
kResourceType_TalonFX
64
public static final int
kResourceType_Task
36
public static final int
kResourceType_TrapezoidProfile
90
public static final int
kResourceType_Ultrasonic
37
public static final int
kResourceType_Units
89
public static final int
kResourceType_UsbCamera
73
public static final int
kResourceType_Victor
38
public static final int
kResourceType_VictorSP
50
public static final int
kResourceType_XboxController
72
-
edu.wpi.first.hal.HALUtil Modifier and Type Constant Field Value public static final int
ANALOG_TRIGGER_PULSE_OUTPUT_ERROR
-1011
public static final int
INCOMPATIBLE_STATE
1015
public static final int
LOOP_TIMING_ERROR
1004
public static final int
NO_AVAILABLE_RESOURCES
-104
public static final int
NULL_PARAMETER
-1005
public static final int
PARAMETER_OUT_OF_RANGE
-1028
public static final int
RUNTIME_ROBORIO
0
public static final int
RUNTIME_ROBORIO2
1
public static final int
RUNTIME_SIMULATION
2
public static final int
SAMPLE_RATE_TOO_HIGH
1001
public static final int
VOLTAGE_OUT_OF_RANGE
1002
-
edu.wpi.first.hal.InterruptJNI Modifier and Type Constant Field Value public static final int
HalInvalidHandle
0
-
edu.wpi.first.hal.LEDJNI Modifier and Type Constant Field Value public static final int
RADIO_LED_STATE_GREEN
1
public static final int
RADIO_LED_STATE_OFF
0
public static final int
RADIO_LED_STATE_ORANGE
3
public static final int
RADIO_LED_STATE_RED
2
-
edu.wpi.first.hal.PowerDistributionJNI Modifier and Type Constant Field Value public static final int
AUTOMATIC_TYPE
0
public static final int
CTRE_TYPE
1
public static final int
DEFAULT_MODULE
-1
public static final int
REV_TYPE
2
-
edu.wpi.first.hal.REVPHJNI Modifier and Type Constant Field Value public static final int
COMPRESSOR_CONFIG_TYPE_ANALOG
2
public static final int
COMPRESSOR_CONFIG_TYPE_DIGITAL
1
public static final int
COMPRESSOR_CONFIG_TYPE_DISABLED
0
public static final int
COMPRESSOR_CONFIG_TYPE_HYBRID
3
-
edu.wpi.first.hal.SimDeviceJNI Modifier and Type Constant Field Value public static final int
kBidir
2
public static final int
kInput
0
public static final int
kOutput
1
-
edu.wpi.first.hal.SPIJNI Modifier and Type Constant Field Value public static final int
INVALID_PORT
-1
public static final int
MXP_PORT
4
public static final int
ONBOARD_CS0_PORT
0
public static final int
ONBOARD_CS1_PORT
1
public static final int
ONBOARD_CS2_PORT
2
public static final int
ONBOARD_CS3_PORT
3
public static final int
SPI_MODE0
0
public static final int
SPI_MODE1
1
public static final int
SPI_MODE2
2
public static final int
SPI_MODE3
3
-
edu.wpi.first.hal.can.CANJNI Modifier and Type Constant Field Value public static final int
CAN_IS_FRAME_11BIT
1073741824
public static final int
CAN_IS_FRAME_REMOTE
-2147483648
public static final int
CAN_SEND_PERIOD_NO_REPEAT
0
public static final int
CAN_SEND_PERIOD_STOP_REPEATING
-1
-
edu.wpi.first.hal.communication.NIRioStatus Modifier and Type Constant Field Value public static final int
kRIOStatusBufferInvalidSize
-63080
public static final int
kRIOStatusFeatureNotSupported
-63193
public static final int
kRioStatusOffset
-63000
public static final int
kRIOStatusOperationTimedOut
-52007
public static final int
kRIOStatusResourceNotInitialized
-52010
public static final int
kRioStatusSuccess
0
-
edu.wpi.first.networktables.BooleanArrayTopic Modifier and Type Constant Field Value public static final String
kTypeString
"boolean[]"
-
edu.wpi.first.networktables.BooleanTopic Modifier and Type Constant Field Value public static final String
kTypeString
"boolean"
-
edu.wpi.first.networktables.DoubleArrayTopic Modifier and Type Constant Field Value public static final String
kTypeString
"double[]"
-
edu.wpi.first.networktables.DoubleTopic Modifier and Type Constant Field Value public static final String
kTypeString
"double"
-
edu.wpi.first.networktables.FloatArrayTopic Modifier and Type Constant Field Value public static final String
kTypeString
"float[]"
-
edu.wpi.first.networktables.FloatTopic Modifier and Type Constant Field Value public static final String
kTypeString
"float"
-
edu.wpi.first.networktables.IntegerArrayTopic Modifier and Type Constant Field Value public static final String
kTypeString
"int[]"
-
edu.wpi.first.networktables.IntegerTopic Modifier and Type Constant Field Value public static final String
kTypeString
"int"
-
edu.wpi.first.networktables.LogMessage Modifier and Type Constant Field Value public static final int
kCritical
50
public static final int
kDebug
10
public static final int
kDebug1
9
public static final int
kDebug2
8
public static final int
kDebug3
7
public static final int
kDebug4
6
public static final int
kError
40
public static final int
kInfo
20
public static final int
kWarning
30
-
edu.wpi.first.networktables.NetworkTable Modifier and Type Constant Field Value public static final char
PATH_SEPARATOR
47
-
edu.wpi.first.networktables.NetworkTableEntry Modifier and Type Constant Field Value public static final int
kPersistent
1
-
edu.wpi.first.networktables.NetworkTableInstance Modifier and Type Constant Field Value public static final int
kDefaultPort3
1735
public static final int
kDefaultPort4
5810
-
edu.wpi.first.networktables.PubSubOptions Modifier and Type Constant Field Value public static final double
kDefaultPeriodic
0.1
-
edu.wpi.first.networktables.StringArrayTopic Modifier and Type Constant Field Value public static final String
kTypeString
"string[]"
-
edu.wpi.first.networktables.StringTopic Modifier and Type Constant Field Value public static final String
kTypeString
"string"
-
edu.wpi.first.units.Measure<U extends Unit<U>> Modifier and Type Constant Field Value public static final double
EQUIVALENCE_THRESHOLD
1.0E-12
-
edu.wpi.first.util.datalog.BooleanArrayLogEntry Modifier and Type Constant Field Value public static final String
kDataType
"boolean[]"
-
edu.wpi.first.util.datalog.BooleanLogEntry Modifier and Type Constant Field Value public static final String
kDataType
"boolean"
-
edu.wpi.first.util.datalog.DoubleArrayLogEntry Modifier and Type Constant Field Value public static final String
kDataType
"double[]"
-
edu.wpi.first.util.datalog.DoubleLogEntry Modifier and Type Constant Field Value public static final String
kDataType
"double"
-
edu.wpi.first.util.datalog.FloatArrayLogEntry Modifier and Type Constant Field Value public static final String
kDataType
"float[]"
-
edu.wpi.first.util.datalog.FloatLogEntry Modifier and Type Constant Field Value public static final String
kDataType
"float"
-
edu.wpi.first.util.datalog.IntegerArrayLogEntry Modifier and Type Constant Field Value public static final String
kDataType
"int64[]"
-
edu.wpi.first.util.datalog.IntegerLogEntry Modifier and Type Constant Field Value public static final String
kDataType
"int64"
-
edu.wpi.first.util.datalog.RawLogEntry Modifier and Type Constant Field Value public static final String
kDataType
"raw"
-
edu.wpi.first.util.datalog.StringArrayLogEntry Modifier and Type Constant Field Value public static final String
kDataType
"string[]"
-
edu.wpi.first.util.datalog.StringLogEntry Modifier and Type Constant Field Value public static final String
kDataType
"string"
-
edu.wpi.first.util.struct.Struct<T> Modifier and Type Constant Field Value public static final int
kSizeBool
1
public static final int
kSizeDouble
8
public static final int
kSizeFloat
4
public static final int
kSizeInt16
2
public static final int
kSizeInt32
4
public static final int
kSizeInt64
8
public static final int
kSizeInt8
1
-
edu.wpi.first.wpilibj.ADXL345_I2C Modifier and Type Constant Field Value public static final byte
kAddress
29
-
edu.wpi.first.wpilibj.DriverStation Modifier and Type Constant Field Value public static final int
kJoystickPorts
6
-
edu.wpi.first.wpilibj.Joystick Modifier and Type Constant Field Value public static final byte
kDefaultThrottleChannel
3
public static final byte
kDefaultTwistChannel
2
public static final byte
kDefaultXChannel
0
public static final byte
kDefaultYChannel
1
public static final byte
kDefaultZChannel
2
-
edu.wpi.first.wpilibj.PowerDistribution Modifier and Type Constant Field Value public static final int
kDefaultModule
-1
-
edu.wpi.first.wpilibj.TimedRobot Modifier and Type Constant Field Value public static final double
kDefaultPeriod
0.02
-
edu.wpi.first.wpilibj.drive.RobotDriveBase Modifier and Type Constant Field Value public static final double
kDefaultDeadband
0.02
public static final double
kDefaultMaxOutput
1.0
-
edu.wpi.first.wpilibj.shuffleboard.Shuffleboard Modifier and Type Constant Field Value public static final String
kBaseTableName
"/Shuffleboard"
-
edu.wpi.first.wpilibj.util.WPILibVersion Modifier and Type Constant Field Value public static final String
Version
"2024.3.2"