[hal,wpilib,wpimath] Add Usage Reporting for Choreo and PathWeaver (#7464)

This commit is contained in:
sciencewhiz
2024-11-30 20:33:09 -08:00
committed by GitHub
parent 9807d60566
commit 892e062316
11 changed files with 39 additions and 0 deletions

View File

@@ -142,6 +142,10 @@ class WPILibMathShared : public wpi::math::MathShared {
case wpi::math::MathUsageId::kController_BangBangController:
HAL_Report(HALUsageReporting::kResourceType_BangBangController, count);
break;
case wpi::math::MathUsageId::kTrajectory_PathWeaver:
HAL_Report(HALUsageReporting::kResourceType_PathWeaverTrajectory,
count);
break;
}
}