[wpimath] Add BangBangController Usage Reporting (#7411)

This commit is contained in:
sciencewhiz
2024-11-20 17:00:54 -08:00
committed by GitHub
parent d92f17b014
commit 0a3ccf93c6
10 changed files with 27 additions and 2 deletions

View File

@@ -139,6 +139,9 @@ class WPILibMathShared : public wpi::math::MathShared {
HAL_Report(HALUsageReporting::kResourceType_ProfiledPIDController,
count);
break;
case wpi::math::MathUsageId::kController_BangBangController:
HAL_Report(HALUsageReporting::kResourceType_BangBangController, count);
break;
}
}