4H-ALARM / 2024-Hydra

Other
0 stars 2 forks source link

Write SmartDashboard values for all Swerve sensors and motors #5

Open nicholastmosher opened 8 months ago

nicholastmosher commented 8 months ago

In order to reliably debug the Swerve drive, we should make sure we have accurate readings about what the robot thinks all of its sensor input values and motor output values are.

To publish a value to the SmartDashboard, use a call like this:

// assume there's a value like `int mMotorValue`
SmartDashboard.putNumber("Name of value", mMotorValue);

For each module in the swerve drive, capture the following values. Some of these are partially done, but we need all of these in the dashboard.