SCRIPT Run cc include replacements

This commit is contained in:
PJ Reiniger
2025-11-07 19:56:21 -05:00
committed by Peter Johnson
parent f0a3c64121
commit 7c6efa41ae
2477 changed files with 8882 additions and 8882 deletions

View File

@@ -2,10 +2,10 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "frc/xrp/XRPGyro.h"
#include "wpi/xrp/XRPGyro.hpp"
#include <units/angle.h>
#include <units/angular_velocity.h>
#include "wpi/units/angle.hpp"
#include "wpi/units/angular_velocity.hpp"
using namespace frc;

View File

@@ -2,9 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "frc/xrp/XRPMotor.h"
#include "wpi/xrp/XRPMotor.hpp"
#include <frc/Errors.h>
#include "wpi/system/Errors.hpp"
#include <map>
#include <set>

View File

@@ -2,12 +2,12 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "frc/xrp/XRPOnBoardIO.h"
#include "wpi/xrp/XRPOnBoardIO.hpp"
#include <frc/DigitalInput.h>
#include <frc/DigitalOutput.h>
#include <frc/Errors.h>
#include <frc/Timer.h>
#include "wpi/hardware/discrete/DigitalInput.hpp"
#include "wpi/hardware/discrete/DigitalOutput.hpp"
#include "wpi/system/Errors.hpp"
#include "wpi/system/Timer.hpp"
using namespace frc;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "frc/xrp/XRPRangefinder.h"
#include "wpi/xrp/XRPRangefinder.hpp"
using namespace frc;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "frc/xrp/XRPReflectanceSensor.h"
#include "wpi/xrp/XRPReflectanceSensor.hpp"
using namespace frc;

View File

@@ -2,16 +2,16 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "frc/xrp/XRPServo.h"
#include "wpi/xrp/XRPServo.hpp"
#include <frc/Errors.h>
#include "wpi/system/Errors.hpp"
#include <map>
#include <numbers>
#include <set>
#include <string>
#include <units/angle.h>
#include "wpi/units/angle.hpp"
using namespace frc;

View File

@@ -4,11 +4,11 @@
#pragma once
#include <frc/geometry/Rotation2d.h>
#include "wpi/math/geometry/Rotation2d.hpp"
#include <hal/SimDevice.h>
#include <units/angle.h>
#include <units/angular_velocity.h>
#include "wpi/hal/SimDevice.h"
#include "wpi/units/angle.hpp"
#include "wpi/units/angular_velocity.hpp"
namespace frc {

View File

@@ -4,15 +4,15 @@
#pragma once
#include <frc/MotorSafety.h>
#include <frc/motorcontrol/MotorController.h>
#include "wpi/hardware/motor/MotorSafety.hpp"
#include "wpi/hardware/motor/MotorController.hpp"
#include <map>
#include <set>
#include <string>
#include <hal/SimDevice.h>
#include <wpi/deprecated.h>
#include "wpi/hal/SimDevice.h"
#include "wpi/util/deprecated.hpp"
namespace frc {

View File

@@ -4,12 +4,12 @@
#pragma once
#include <frc/DigitalInput.h>
#include <frc/DigitalOutput.h>
#include "wpi/hardware/discrete/DigitalInput.hpp"
#include "wpi/hardware/discrete/DigitalOutput.hpp"
#include <memory>
#include <units/time.h>
#include "wpi/units/time.hpp"
namespace frc {

View File

@@ -4,9 +4,9 @@
#pragma once
#include <frc/AnalogInput.h>
#include "wpi/hardware/discrete/AnalogInput.hpp"
#include <units/length.h>
#include "wpi/units/length.hpp"
namespace frc {

View File

@@ -4,7 +4,7 @@
#pragma once
#include <frc/AnalogInput.h>
#include "wpi/hardware/discrete/AnalogInput.hpp"
namespace frc {

View File

@@ -8,8 +8,8 @@
#include <set>
#include <string>
#include <hal/SimDevice.h>
#include <units/angle.h>
#include "wpi/hal/SimDevice.h"
#include "wpi/units/angle.hpp"
namespace frc {

View File

@@ -58,9 +58,9 @@ depends = ["wpilib", "wpimath_geometry"]
[tool.semiwrap.extension_modules."xrp._xrp".headers]
# frc/xrp
XRPGyro = "frc/xrp/XRPGyro.h"
XRPMotor = "frc/xrp/XRPMotor.h"
XRPOnBoardIO = "frc/xrp/XRPOnBoardIO.h"
XRPRangefinder = "frc/xrp/XRPRangefinder.h"
XRPReflectanceSensor = "frc/xrp/XRPReflectanceSensor.h"
XRPServo = "frc/xrp/XRPServo.h"
XRPGyro = "wpi/xrp/XRPGyro.hpp"
XRPMotor = "wpi/xrp/XRPMotor.hpp"
XRPOnBoardIO = "wpi/xrp/XRPOnBoardIO.hpp"
XRPRangefinder = "wpi/xrp/XRPRangefinder.hpp"
XRPReflectanceSensor = "wpi/xrp/XRPReflectanceSensor.hpp"
XRPServo = "wpi/xrp/XRPServo.hpp"