SCRIPT namespace replacements

This commit is contained in:
PJ Reiniger
2025-11-07 20:00:05 -05:00
committed by Peter Johnson
parent ae6c043632
commit 9aca8e0fd6
2622 changed files with 22275 additions and 22275 deletions

View File

@@ -20,14 +20,14 @@ class DefaultMathShared : public MathShared {
void ReportWarningV(fmt::string_view format, fmt::format_args args) override {
}
void ReportUsage(std::string_view resource, std::string_view data) override {}
units::second_t GetTimestamp() override {
return units::second_t{wpi::Now() * 1.0e-6};
wpi::units::second_t GetTimestamp() override {
return wpi::units::second_t{wpi::util::Now() * 1.0e-6};
}
};
} // namespace
static std::unique_ptr<MathShared> mathShared;
static wpi::mutex setLock;
static wpi::util::mutex setLock;
MathShared& MathSharedStore::GetMathShared() {
std::scoped_lock lock(setLock);

View File

@@ -6,7 +6,7 @@
#include <limits>
namespace frc {
namespace wpi::math {
template bool IsStabilizable<1, 1>(const Matrixd<1, 1>& A,
const Matrixd<1, 1>& B);
@@ -68,4 +68,4 @@ Eigen::MatrixXd MakeCovMatrix(const std::span<const double> stdDevs) {
return result;
}
} // namespace frc
} // namespace wpi::math