Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2025.2.1"
id "edu.wpi.first.GradleRIO" version "2025.3.2"
id 'com.diffplug.spotless' version '6.20.0'
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/ArmSubsystem.java
Original file line number Diff line number Diff line change
@@ -1 +1 @@
// Homework for Week 2
// Homework for Week 2
11 changes: 11 additions & 0 deletions src/main/java/frc/robot/subsystems/SoftwareWeek3HomeworkNotes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
A subsystem a group of code for a multiple pieces of hardware that work together
It is important to restrict access to a subsystem to prevent problems
It is easy to use subsystems using CommandSchedular
Subsystems are for controlling basic functions. Commands put this together to do more complicated things
All subsystems have a lot of basic things in common so its good to put them all in a parent class
Whenever doing an action on a piece of hardware, always do it through the subsystem that contains it

Periodic() method is what the code runs periodically every cycle. This is for housekeeping tasks. The method is optional.
Never control motors from the periodic method.

Subsystems only do one thing at a time.