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.
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:
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.