mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpimath] Move controller from wpilibj to wpimath (#3439)
This commit is contained in:
@@ -114,6 +114,13 @@ class WPILibMathShared : public wpi::math::MathShared {
|
||||
HAL_Report(HALUsageReporting::kResourceType_Odometry,
|
||||
HALUsageReporting::kOdometry_MecanumDrive);
|
||||
break;
|
||||
case wpi::math::MathUsageId::kController_PIDController2:
|
||||
HAL_Report(HALUsageReporting::kResourceType_PIDController2, count);
|
||||
break;
|
||||
case wpi::math::MathUsageId::kController_ProfiledPIDController:
|
||||
HAL_Report(HALUsageReporting::kResourceType_ProfiledPIDController,
|
||||
count);
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user