mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpimath] Add ReportWarning to MathShared (#3441)
This commit is contained in:
@@ -77,6 +77,11 @@ class WPILibMathShared : public wpi::math::MathShared {
|
||||
args);
|
||||
}
|
||||
|
||||
void ReportWarningV(fmt::string_view format, fmt::format_args args) override {
|
||||
frc::ReportErrorV(warn::Warning, __FILE__, __LINE__, __FUNCTION__, format,
|
||||
args);
|
||||
}
|
||||
|
||||
void ReportUsage(wpi::math::MathUsageId id, int count) override {
|
||||
switch (id) {
|
||||
case wpi::math::MathUsageId::kKinematics_DifferentialDrive:
|
||||
|
||||
Reference in New Issue
Block a user