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

@@ -11,7 +11,7 @@
#include "wpi/driverstation/GenericHID.hpp"
namespace frc {
namespace wpi {
/**
* Handle input from PS4 controllers connected to the Driver Station.
@@ -26,8 +26,8 @@ namespace frc {
* to have the same mapping, as well as any 3rd party controllers.
*/
class PS4Controller : public GenericHID,
public wpi::Sendable,
public wpi::SendableHelper<PS4Controller> {
public wpi::util::Sendable,
public wpi::util::SendableHelper<PS4Controller> {
public:
/**
* Construct an instance of a controller.
@@ -602,7 +602,7 @@ class PS4Controller : public GenericHID,
static constexpr int kR2 = 4;
};
void InitSendable(wpi::SendableBuilder& builder) override;
void InitSendable(wpi::util::SendableBuilder& builder) override;
};
} // namespace frc
} // namespace wpi

View File

@@ -11,7 +11,7 @@
#include "wpi/driverstation/GenericHID.hpp"
namespace frc {
namespace wpi {
/**
* Handle input from PS5 controllers connected to the Driver Station.
@@ -26,8 +26,8 @@ namespace frc {
* to have the same mapping, as well as any 3rd party controllers.
*/
class PS5Controller : public GenericHID,
public wpi::Sendable,
public wpi::SendableHelper<PS5Controller> {
public wpi::util::Sendable,
public wpi::util::SendableHelper<PS5Controller> {
public:
/**
* Construct an instance of a controller.
@@ -602,7 +602,7 @@ class PS5Controller : public GenericHID,
static constexpr int kR2 = 4;
};
void InitSendable(wpi::SendableBuilder& builder) override;
void InitSendable(wpi::util::SendableBuilder& builder) override;
};
} // namespace frc
} // namespace wpi

View File

@@ -11,7 +11,7 @@
#include "wpi/driverstation/GenericHID.hpp"
namespace frc {
namespace wpi {
/**
* Handle input from Stadia controllers connected to the Driver Station.
@@ -26,8 +26,8 @@ namespace frc {
* to have the same mapping, as well as any 3rd party controllers.
*/
class StadiaController : public GenericHID,
public wpi::Sendable,
public wpi::SendableHelper<StadiaController> {
public wpi::util::Sendable,
public wpi::util::SendableHelper<StadiaController> {
public:
/**
* Construct an instance of a controller.
@@ -649,7 +649,7 @@ class StadiaController : public GenericHID,
static constexpr int kRightY = 4;
};
void InitSendable(wpi::SendableBuilder& builder) override;
void InitSendable(wpi::util::SendableBuilder& builder) override;
};
} // namespace frc
} // namespace wpi

View File

@@ -11,7 +11,7 @@
#include "wpi/driverstation/GenericHID.hpp"
namespace frc {
namespace wpi {
/**
* Handle input from Xbox controllers connected to the Driver Station.
@@ -26,8 +26,8 @@ namespace frc {
* to have the same mapping, as well as any 3rd party controllers.
*/
class XboxController : public GenericHID,
public wpi::Sendable,
public wpi::SendableHelper<XboxController> {
public wpi::util::Sendable,
public wpi::util::SendableHelper<XboxController> {
public:
/**
* Construct an instance of a controller.
@@ -548,7 +548,7 @@ class XboxController : public GenericHID,
static constexpr int kRightTrigger = 3;
};
void InitSendable(wpi::SendableBuilder& builder) override;
void InitSendable(wpi::util::SendableBuilder& builder) override;
};
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/hardware/motor/PWMMotorController.hpp"
namespace frc {
namespace wpi {
/**
* AndyMark Koors40 Motor Controller with PWM control.
@@ -40,4 +40,4 @@ class Koors40 : public PWMMotorController {
Koors40& operator=(Koors40&&) = default;
};
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/hardware/motor/PWMMotorController.hpp"
namespace frc {
namespace wpi {
/**
* REV Robotics SPARK Flex Motor Controller with PWM control.
@@ -40,4 +40,4 @@ class PWMSparkFlex : public PWMMotorController {
PWMSparkFlex& operator=(PWMSparkFlex&&) = default;
};
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/hardware/motor/PWMMotorController.hpp"
namespace frc {
namespace wpi {
/**
* REV Robotics SPARK MAX Motor Controller with PWM control.
@@ -40,4 +40,4 @@ class PWMSparkMax : public PWMMotorController {
PWMSparkMax& operator=(PWMSparkMax&&) = default;
};
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/hardware/motor/PWMMotorController.hpp"
namespace frc {
namespace wpi {
/**
* Cross the Road Electronics (CTRE) Talon FX Motor Controller with PWM control.
@@ -40,4 +40,4 @@ class PWMTalonFX : public PWMMotorController {
PWMTalonFX& operator=(PWMTalonFX&&) = default;
};
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/hardware/motor/PWMMotorController.hpp"
namespace frc {
namespace wpi {
/**
* Cross the Road Electronics (CTRE) Talon SRX Motor Controller with PWM control.
@@ -40,4 +40,4 @@ class PWMTalonSRX : public PWMMotorController {
PWMTalonSRX& operator=(PWMTalonSRX&&) = default;
};
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/hardware/motor/PWMMotorController.hpp"
namespace frc {
namespace wpi {
/**
* Playing with Fusion Venom Motor Controller with PWM control.
@@ -40,4 +40,4 @@ class PWMVenom : public PWMMotorController {
PWMVenom& operator=(PWMVenom&&) = default;
};
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/hardware/motor/PWMMotorController.hpp"
namespace frc {
namespace wpi {
/**
* Cross the Road Electronics (CTRE) Victor SPX Motor Controller with PWM control.
@@ -40,4 +40,4 @@ class PWMVictorSPX : public PWMMotorController {
PWMVictorSPX& operator=(PWMVictorSPX&&) = default;
};
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/hardware/motor/PWMMotorController.hpp"
namespace frc {
namespace wpi {
/**
* REV Robotics SPARK Motor Controller with PWM control.
@@ -40,4 +40,4 @@ class Spark : public PWMMotorController {
Spark& operator=(Spark&&) = default;
};
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/hardware/motor/PWMMotorController.hpp"
namespace frc {
namespace wpi {
/**
* REV Robotics SPARKMini Motor Controller with PWM control.
@@ -40,4 +40,4 @@ class SparkMini : public PWMMotorController {
SparkMini& operator=(SparkMini&&) = default;
};
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/hardware/motor/PWMMotorController.hpp"
namespace frc {
namespace wpi {
/**
* Cross the Road Electronics (CTRE) Talon Motor Controller with PWM control.
@@ -40,4 +40,4 @@ class Talon : public PWMMotorController {
Talon& operator=(Talon&&) = default;
};
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/hardware/motor/PWMMotorController.hpp"
namespace frc {
namespace wpi {
/**
* Vex Robotics Victor SP Motor Controller with PWM control.
@@ -40,4 +40,4 @@ class VictorSP : public PWMMotorController {
VictorSP& operator=(VictorSP&&) = default;
};
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/simulation/GenericHIDSim.hpp"
namespace frc {
namespace wpi {
class PS4Controller;
@@ -187,4 +187,4 @@ class PS4ControllerSim : public GenericHIDSim {
};
} // namespace sim
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/simulation/GenericHIDSim.hpp"
namespace frc {
namespace wpi {
class PS5Controller;
@@ -187,4 +187,4 @@ class PS5ControllerSim : public GenericHIDSim {
};
} // namespace sim
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/simulation/GenericHIDSim.hpp"
namespace frc {
namespace wpi {
class StadiaController;
@@ -169,4 +169,4 @@ class StadiaControllerSim : public GenericHIDSim {
};
} // namespace sim
} // namespace frc
} // namespace wpi

View File

@@ -8,7 +8,7 @@
#include "wpi/simulation/GenericHIDSim.hpp"
namespace frc {
namespace wpi {
class XboxController;
@@ -170,4 +170,4 @@ class XboxControllerSim : public GenericHIDSim {
};
} // namespace sim
} // namespace frc
} // namespace wpi