AusTINCANsProgrammingTeam / 2022RobotCode

Other
6 stars 2 forks source link

Expand MotorController SmartDashboard output #14

Open azvanderpas opened 2 years ago

azvanderpas commented 2 years ago

https://github.com/AusTINCANsProgrammingTeam/2022RobotCode/blob/d5579f37169a2eb71b6de95731a66fed51a0eca2/src/main/java/frc/robot/common/hardware/MotorController.java#L70

Currently updateSmartDashboard just logs and allows writing PID constants. We should add more debug information to the smartdashboard.

Also, looks like there is a Glass UI widget specifically for PID controllers: https://docs.wpilib.org/en/stable/docs/software/dashboards/glass/widgets.html#pid-controller-widget

caseyjbrotherton commented 2 years ago

There is a shuffleboard widget for PID controllers as well.
Our motorController doesn't to implement or extend PIDController, or MotorController. Fixing that might help with the standard widgets that we are able to use

sarango2158 commented 2 years ago

Making this a post-season goal to help us set up for next year. We should use the PID widget to easily tune.