mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
SCRIPT Run cc include replacements
This commit is contained in:
committed by
Peter Johnson
parent
f0a3c64121
commit
7c6efa41ae
@@ -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;
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <frc/AnalogInput.h>
|
||||
#include "wpi/hardware/discrete/AnalogInput.hpp"
|
||||
|
||||
namespace frc {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user