Lesson 2 -- Constants & The frc.robot.info Package

Lesson 2

Alan Burr's Web site

Lesson 0 Lesson 0.1 Lesson 1 Lesson 2 Lesson 3 Lesson 4 Lesson 5 Lesson 6 Lesson 7 Lesson 8

 

Lesson 0
Lesson 0.1
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6
Lesson 7
Lesson 8

(See full catalog)

Lesson 2 -- Constants & The frc.robot.info Package

Watch on YouTube (recommended):

Or if you cannot access the YouTube video, watch on my Web site or open in VLC on mobile.

Lesson Details

Duration: 00:29:14 (29 minutes and 14 seconds)

Topics:

Constants
frc.robot.info Package

Description:

static Java keyword: https://www.w3schools.com/java/java_static.asp
Statefulness: https://en.wikipedia.org/wiki/State_(computer_science)#Program_state
Java enum (enumeration): https://www.w3schools.com/java/java_enums.asp
Java inheritance: https://www.geeksforgeeks.org/java/inheritance-in-java/
WPILib Blue alliance origin: https://docs.wpilib.org/en/stable/docs/software/basic-programming/coordinate-system.html#always-blue-origin
DC Motors: https://en.wikipedia.org/wiki/DC_motor
PID (Proportion, Integral, Derivative): https://en.wikipedia.org/wiki/PID_controller
Feedforward: https://en.wikipedia.org/wiki/Feed_forward_(control)
Quantization: https://en.wikipedia.org/wiki/Quantization_(physics)
Interpolation: https://en.wikipedia.org/wiki/Interpolation
Extrapolation: https://en.wikipedia.org/wiki/Extrapolation
MegaTag2: A localization method used by the Limelight firmware (not used by us because we run PhotonVision on our Limelights).

Timestamps:

00:00 Introduction
00:23 Period.java
02:14 Alliance.java
04:04 Debug.java
06:06 Field.java
07:16 Math.java
07:56 Motors.java
09:45 RobotMode.java
10:16 BuildConstants.java
10:48 CanIdConstants.java
12:32 ControllerConstants.java
14:13 CoordinatorConstants.java
14:33 PIDFfRecord.java
15:43 CoordinatorConstants.java
15:57 DriveConstants.java
17:15 PID
18:10 IndexerConstants.java
18:43 IntakeConstants.java
19:14 LedConstants.java
19:47 PdhChannelConstants.java
20:09 RobotConstants.java
22:16 ShooterConstants.java
25:13 VisionConstants.java
29:08 Outro

 

All videos found in this course produced by me (Alan Burr) are made available under the Creative Commons Attribution license (CC BY) as specified by YouTube.

 

All content Copyright © Alan M. Burr. All Rights Reserved unless otherwise noted.
Site last updated Wednesday, 04 November 2026 06:32:53 PM Eastern.
To report a problem with the site, contact info@alanburr.us.eu.org.