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,17 +2,17 @@
// 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 "frc2/command/Command.h"
#include "wpi/commands2/Command.hpp"
#include <string>
#include <utility>
#include <wpi/StackTrace.h>
#include <wpi/sendable/SendableBuilder.h>
#include <wpi/sendable/SendableRegistry.h>
#include "wpi/util/StackTrace.hpp"
#include "wpi/util/sendable/SendableBuilder.hpp"
#include "wpi/util/sendable/SendableRegistry.hpp"
#include "frc2/command/CommandPtr.h"
#include "frc2/command/CommandScheduler.h"
#include "wpi/commands2/CommandPtr.hpp"
#include "wpi/commands2/CommandScheduler.hpp"
using namespace frc2;

View File

@@ -2,26 +2,26 @@
// 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 "frc2/command/CommandPtr.h"
#include "wpi/commands2/CommandPtr.hpp"
#include <memory>
#include <utility>
#include <vector>
#include <frc/Errors.h>
#include "wpi/system/Errors.hpp"
#include "frc2/command/CommandScheduler.h"
#include "frc2/command/ConditionalCommand.h"
#include "frc2/command/InstantCommand.h"
#include "frc2/command/ParallelCommandGroup.h"
#include "frc2/command/ParallelDeadlineGroup.h"
#include "frc2/command/ParallelRaceGroup.h"
#include "frc2/command/ProxyCommand.h"
#include "frc2/command/RepeatCommand.h"
#include "frc2/command/SequentialCommandGroup.h"
#include "frc2/command/WaitCommand.h"
#include "frc2/command/WaitUntilCommand.h"
#include "frc2/command/WrapperCommand.h"
#include "wpi/commands2/CommandScheduler.hpp"
#include "wpi/commands2/ConditionalCommand.hpp"
#include "wpi/commands2/InstantCommand.hpp"
#include "wpi/commands2/ParallelCommandGroup.hpp"
#include "wpi/commands2/ParallelDeadlineGroup.hpp"
#include "wpi/commands2/ParallelRaceGroup.hpp"
#include "wpi/commands2/ProxyCommand.hpp"
#include "wpi/commands2/RepeatCommand.hpp"
#include "wpi/commands2/SequentialCommandGroup.hpp"
#include "wpi/commands2/WaitCommand.hpp"
#include "wpi/commands2/WaitUntilCommand.hpp"
#include "wpi/commands2/WrapperCommand.hpp"
using namespace frc2;

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 "frc2/command/CommandScheduler.h"
#include "wpi/commands2/CommandScheduler.hpp"
#include <cstdio>
#include <memory>
@@ -10,20 +10,20 @@
#include <utility>
#include <vector>
#include <frc/RobotBase.h>
#include <frc/RobotState.h>
#include <frc/TimedRobot.h>
#include <hal/HALBase.h>
#include <hal/UsageReporting.h>
#include <networktables/IntegerArrayTopic.h>
#include <networktables/StringArrayTopic.h>
#include <wpi/DenseMap.h>
#include <wpi/SmallVector.h>
#include <wpi/sendable/SendableBuilder.h>
#include <wpi/sendable/SendableRegistry.h>
#include "wpi/opmode/RobotBase.hpp"
#include "wpi/opmode/RobotState.hpp"
#include "wpi/opmode/TimedRobot.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/UsageReporting.h"
#include "wpi/nt/IntegerArrayTopic.hpp"
#include "wpi/nt/StringArrayTopic.hpp"
#include "wpi/util/DenseMap.hpp"
#include "wpi/util/SmallVector.hpp"
#include "wpi/util/sendable/SendableBuilder.hpp"
#include "wpi/util/sendable/SendableRegistry.hpp"
#include "frc2/command/CommandPtr.h"
#include "frc2/command/Subsystem.h"
#include "wpi/commands2/CommandPtr.hpp"
#include "wpi/commands2/Subsystem.hpp"
using namespace frc2;

View File

@@ -2,27 +2,27 @@
// 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 "frc2/command/Commands.h"
#include "wpi/commands2/Commands.hpp"
#include <utility>
#include <vector>
#include <wpi/FunctionExtras.h>
#include <wpi/deprecated.h>
#include "wpi/util/FunctionExtras.hpp"
#include "wpi/util/deprecated.hpp"
#include "frc2/command/ConditionalCommand.h"
#include "frc2/command/DeferredCommand.h"
#include "frc2/command/FunctionalCommand.h"
#include "frc2/command/InstantCommand.h"
#include "frc2/command/ParallelCommandGroup.h"
#include "frc2/command/ParallelDeadlineGroup.h"
#include "frc2/command/ParallelRaceGroup.h"
#include "frc2/command/PrintCommand.h"
#include "frc2/command/ProxyCommand.h"
#include "frc2/command/RunCommand.h"
#include "frc2/command/SequentialCommandGroup.h"
#include "frc2/command/WaitCommand.h"
#include "frc2/command/WaitUntilCommand.h"
#include "wpi/commands2/ConditionalCommand.hpp"
#include "wpi/commands2/DeferredCommand.hpp"
#include "wpi/commands2/FunctionalCommand.hpp"
#include "wpi/commands2/InstantCommand.hpp"
#include "wpi/commands2/ParallelCommandGroup.hpp"
#include "wpi/commands2/ParallelDeadlineGroup.hpp"
#include "wpi/commands2/ParallelRaceGroup.hpp"
#include "wpi/commands2/PrintCommand.hpp"
#include "wpi/commands2/ProxyCommand.hpp"
#include "wpi/commands2/RunCommand.hpp"
#include "wpi/commands2/SequentialCommandGroup.hpp"
#include "wpi/commands2/WaitCommand.hpp"
#include "wpi/commands2/WaitUntilCommand.hpp"
using namespace frc2;

View File

@@ -2,13 +2,13 @@
// 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 "frc2/command/ConditionalCommand.h"
#include "wpi/commands2/ConditionalCommand.hpp"
#include <memory>
#include <string>
#include <utility>
#include <wpi/sendable/SendableBuilder.h>
#include "wpi/util/sendable/SendableBuilder.hpp"
using namespace frc2;

View File

@@ -2,13 +2,13 @@
// 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 "frc2/command/DeferredCommand.h"
#include "wpi/commands2/DeferredCommand.hpp"
#include <utility>
#include <wpi/sendable/SendableBuilder.h>
#include "wpi/util/sendable/SendableBuilder.hpp"
#include "frc2/command/Commands.h"
#include "wpi/commands2/Commands.hpp"
using namespace frc2;

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 "frc2/command/FunctionalCommand.h"
#include "wpi/commands2/FunctionalCommand.hpp"
#include <utility>

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 "frc2/command/InstantCommand.h"
#include "wpi/commands2/InstantCommand.hpp"
#include <utility>

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 "frc2/command/NotifierCommand.h"
#include "wpi/commands2/NotifierCommand.hpp"
#include <utility>

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 "frc2/command/ParallelCommandGroup.h"
#include "wpi/commands2/ParallelCommandGroup.hpp"
#include <utility>
#include <vector>

View File

@@ -2,13 +2,13 @@
// 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 "frc2/command/ParallelDeadlineGroup.h"
#include "wpi/commands2/ParallelDeadlineGroup.hpp"
#include <memory>
#include <utility>
#include <vector>
#include <wpi/sendable/SendableBuilder.h>
#include "wpi/util/sendable/SendableBuilder.hpp"
using namespace frc2;

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 "frc2/command/ParallelRaceGroup.h"
#include "wpi/commands2/ParallelRaceGroup.hpp"
#include <utility>
#include <vector>

View File

@@ -2,11 +2,11 @@
// 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 "frc2/command/PrintCommand.h"
#include "wpi/commands2/PrintCommand.hpp"
#include <string>
#include <wpi/print.h>
#include "wpi/util/print.hpp"
using namespace frc2;

View File

@@ -2,14 +2,14 @@
// 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 "frc2/command/ProxyCommand.h"
#include "wpi/commands2/ProxyCommand.hpp"
#include <string>
#include <utility>
#include <fmt/format.h>
#include <wpi/deprecated.h>
#include <wpi/sendable/SendableBuilder.h>
#include "wpi/util/deprecated.hpp"
#include "wpi/util/sendable/SendableBuilder.hpp"
using namespace frc2;

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 "frc2/command/RepeatCommand.h"
#include "wpi/commands2/RepeatCommand.hpp"
#include <string>
#include <utility>
#include <wpi/sendable/SendableBuilder.h>
#include "wpi/util/sendable/SendableBuilder.hpp"
using namespace frc2;

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 "frc2/command/RunCommand.h"
#include "wpi/commands2/RunCommand.hpp"
#include <utility>

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 "frc2/command/ScheduleCommand.h"
#include "wpi/commands2/ScheduleCommand.hpp"
using namespace frc2;

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 "frc2/command/SequentialCommandGroup.h"
#include "wpi/commands2/SequentialCommandGroup.hpp"
#include <utility>
#include <vector>
#include <wpi/sendable/SendableBuilder.h>
#include "wpi/util/sendable/SendableBuilder.hpp"
using namespace frc2;

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 "frc2/command/StartEndCommand.h"
#include "wpi/commands2/StartEndCommand.hpp"
#include <utility>

View File

@@ -2,15 +2,15 @@
// 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 "frc2/command/Subsystem.h"
#include "wpi/commands2/Subsystem.hpp"
#include <string>
#include <utility>
#include <wpi/Demangle.h>
#include "wpi/util/Demangle.hpp"
#include "frc2/command/CommandPtr.h"
#include "frc2/command/Commands.h"
#include "wpi/commands2/CommandPtr.hpp"
#include "wpi/commands2/Commands.hpp"
using namespace frc2;
Subsystem::~Subsystem() {

View File

@@ -2,15 +2,15 @@
// 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 "frc2/command/SubsystemBase.h"
#include "wpi/commands2/SubsystemBase.hpp"
#include <string>
#include <wpi/sendable/SendableBuilder.h>
#include <wpi/sendable/SendableRegistry.h>
#include "wpi/util/sendable/SendableBuilder.hpp"
#include "wpi/util/sendable/SendableRegistry.hpp"
#include "frc2/command/Command.h"
#include "frc2/command/CommandScheduler.h"
#include "wpi/commands2/Command.hpp"
#include "wpi/commands2/CommandScheduler.hpp"
using namespace frc2;

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 "frc2/command/WaitCommand.h"
#include "wpi/commands2/WaitCommand.hpp"
#include <fmt/format.h>
#include <wpi/sendable/SendableBuilder.h>
#include "wpi/util/sendable/SendableBuilder.hpp"
using namespace frc2;

View File

@@ -2,11 +2,11 @@
// 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 "frc2/command/WaitUntilCommand.h"
#include "wpi/commands2/WaitUntilCommand.hpp"
#include <utility>
#include <frc/Timer.h>
#include "wpi/system/Timer.hpp"
using namespace frc2;

View File

@@ -2,11 +2,11 @@
// 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 "frc2/command/WrapperCommand.h"
#include "wpi/commands2/WrapperCommand.hpp"
#include <utility>
#include "frc2/command/Command.h"
#include "wpi/commands2/Command.hpp"
using namespace frc2;

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 "frc2/command/button/CommandGamepad.h"
#include "wpi/commands2/button/CommandGamepad.hpp"
using namespace frc2;

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 "frc2/command/button/CommandGenericHID.h"
#include "wpi/commands2/button/CommandGenericHID.hpp"
using namespace frc2;

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 "frc2/command/button/CommandJoystick.h"
#include "wpi/commands2/button/CommandJoystick.hpp"
using namespace frc2;

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 "frc2/command/button/NetworkButton.h"
#include "wpi/commands2/button/NetworkButton.hpp"
#include <memory>
#include <utility>

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 "frc2/command/button/RobotModeTriggers.h"
#include "wpi/commands2/button/RobotModeTriggers.hpp"
#include <frc/DriverStation.h>
#include "wpi/driverstation/DriverStation.hpp"
using namespace frc2;

View File

@@ -2,13 +2,13 @@
// 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 "frc2/command/button/Trigger.h"
#include "wpi/commands2/button/Trigger.hpp"
#include <utility>
#include <frc/filter/Debouncer.h>
#include "wpi/math/filter/Debouncer.hpp"
#include "frc2/command/CommandPtr.h"
#include "wpi/commands2/CommandPtr.hpp"
using namespace frc;
using namespace frc2;

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 "frc2/command/sysid/SysIdRoutine.h"
#include "wpi/commands2/sysid/SysIdRoutine.hpp"
#include <frc/sysid/SysIdRoutineLog.h>
#include "wpi/sysid/SysIdRoutineLog.hpp"
using namespace frc2::sysid;