From 61b22f02a54c733d47f647df67533988a2cf0ee6 Mon Sep 17 00:00:00 2001 From: MaryamShaikh320 Date: Sun, 29 Jun 2025 11:55:05 -0700 Subject: [PATCH] added da notes --- src/main/java/frc/robot/subsystems/notes.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/main/java/frc/robot/subsystems/notes.txt diff --git a/src/main/java/frc/robot/subsystems/notes.txt b/src/main/java/frc/robot/subsystems/notes.txt new file mode 100644 index 0000000..0073a3d --- /dev/null +++ b/src/main/java/frc/robot/subsystems/notes.txt @@ -0,0 +1,10 @@ +- da command scheduler runs every 20ms +- da command scheduler runs da periodic() of each subsystem +- subsystems act as an encapsulation +- da scheduler will never 2 commands that use the same subsystem +- subsystem default commands for when they aren't in use +- motors and sensors are defined as private final +- periodic() usually logs values +- don't control motors in periodic() bc obvi reasons +- requirement: when the command requires a subsystem +- \ No newline at end of file