Arctos6135 / frc-2024

Other
1 stars 1 forks source link

Log into subfolders #50

Closed n-arms closed 6 months ago

n-arms commented 6 months ago

Currently advantagescope is getting very polluted with calls to Logger.recordOutput, which makes it tricky to find the values we are looking for. Solve this problem by changing the field name of calls to recordOutput according to subsystem.

For example, in the Arm subsystem, we call Logger.recordOutput("Arm Mechanism", ) and Logger.recordOutput("Arm Voltage", ). These calls should be replaced with Logger.recordOutput("Arm/Mechanism", ) and Logger.recordOutput("Arm/Voltage", ).

In logging calls we have abbreviated the names of some subsystems, such as DT for drivetrain and Shoot for Shooter. It isn't necessary to keep these abbreviations when we switch to subfolder logging, because the longer names will be folder names and won't get in the way.