Skip to content

Commit 12c6fe0

Browse files
committed
Add usage reporting
1 parent f333495 commit 12c6fe0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/frc/robot/subsystems/DriveSubsystem.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
package frc.robot.subsystems;
66

7+
import edu.wpi.first.hal.FRCNetComm.tInstances;
8+
import edu.wpi.first.hal.FRCNetComm.tResourceType;
9+
import edu.wpi.first.hal.HAL;
710
import edu.wpi.first.math.geometry.Pose2d;
811
import edu.wpi.first.math.geometry.Rotation2d;
912
import edu.wpi.first.math.kinematics.ChassisSpeeds;
@@ -54,6 +57,8 @@ public class DriveSubsystem extends SubsystemBase {
5457

5558
/** Creates a new DriveSubsystem. */
5659
public DriveSubsystem() {
60+
// Usage reporting for MAXSwerve template
61+
HAL.report(tResourceType.kResourceType_RobotDrive, tInstances.kRobotDriveSwerve_MaxSwerve);
5762
}
5863

5964
@Override

0 commit comments

Comments
 (0)