Team138Entropy / Entropy2022

FIRST Robotics Team Entropy 138's code for the 2022 season
Other
3 stars 0 forks source link

Add 'UpdateSmartdashboard' Method to Subsystem Interface #20

Open joecaraccio opened 2 years ago

joecaraccio commented 2 years ago

To force all of our subsystems to have a Smartdashboard Update Method, we should add an UpdateSmartdashboard method to the Subsystem Interface.

https://github.com/Team138Entropy/Entropy2022/blob/main/src/main/java/frc/robot/subsystems/Subsystem.java

In the case of the arm it could store the current voltage, current current, shoulder position etc. The drive train could store the gyro position, the encoders, motor voltages. etc.