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

@@ -8,7 +8,7 @@
#include "wpi/system/Watchdog.hpp"
#include "wpi/units/time.hpp"
namespace frc {
namespace wpi {
/**
* IterativeRobotBase implements a specific type of robot program framework,
@@ -200,7 +200,7 @@ class IterativeRobotBase : public RobotBase {
/**
* Gets time period between calls to Periodic() functions.
*/
units::second_t GetPeriod() const;
wpi::units::second_t GetPeriod() const;
/**
* Prints list of epochs added so far and their times.
@@ -212,7 +212,7 @@ class IterativeRobotBase : public RobotBase {
*
* @param period Period.
*/
explicit IterativeRobotBase(units::second_t period);
explicit IterativeRobotBase(wpi::units::second_t period);
~IterativeRobotBase() override = default;
@@ -229,7 +229,7 @@ class IterativeRobotBase : public RobotBase {
enum class Mode { kNone, kDisabled, kAutonomous, kTeleop, kTest };
Mode m_lastMode = Mode::kNone;
units::second_t m_period;
wpi::units::second_t m_period;
Watchdog m_watchdog;
bool m_ntFlushEnabled = true;
bool m_calledDsConnected = false;
@@ -237,4 +237,4 @@ class IterativeRobotBase : public RobotBase {
void PrintLoopOverrunMessage();
};
} // namespace frc
} // namespace wpi