Lesson 1 -- Main, Robot & RobotContainer

Lesson 1

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 1 -- Main, Robot & RobotContainer

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:35:52 (35 minutes and 52 seconds)

Topics:

Main.java
Robot.java
RobotContainer.java

Description:

Learn Java course (W3Schools): https://www.w3schools.com/java/
Robot Code (rewrite branch): https://github.com/5724-SpartanRobotics/RobotCode2026/tree/rewrite
5724 Team Website: https://shsrobotics.us
Install WPILib: https://is.gd/install_wpilib (note about supported platforms - in the video I say that only Windows 11 is supported, Windows 11 is the only Windows version supported. See the link for all supported platforms, including macOS and Linux)
Period and Frequency: A period is a duration of time and can be found from the reciprocal of a frequency. A frequency is rate and can be found from the reciprocal of a period.
Git best practices: https://www.w3schools.com/git/git_best_practices.asp
Singleton pattern: https://en.wikipedia.org/wiki/Singleton_pattern
DRY (Do not Repeat Yourself): https://en.wikipedia.org/wiki/Don%27t_repeat_yourself

Timestamps:

00:00 Introduction
00:21 Prerequisite: Learn Java
01:21 Downloading 2026 Robot Code
03:26 Installing WPILib
04:08 Main.java
05:23 CustomPeriodLoggedRobot & Period
09:08 Robot.java
24:25 RobotContainer.java
35:30 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.