mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
SCRIPT Run cc include replacements
This commit is contained in:
committed by
Peter Johnson
parent
f0a3c64121
commit
7c6efa41ae
@@ -9,14 +9,14 @@
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
#include <units/time.h>
|
||||
#include <wpi/Demangle.h>
|
||||
#include <wpi/SmallSet.h>
|
||||
#include <wpi/StackTrace.h>
|
||||
#include <wpi/sendable/Sendable.h>
|
||||
#include "wpi/units/time.hpp"
|
||||
#include "wpi/util/Demangle.hpp"
|
||||
#include "wpi/util/SmallSet.hpp"
|
||||
#include "wpi/util/StackTrace.hpp"
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
|
||||
#include "frc2/command/Requirements.h"
|
||||
#include "frc2/command/Subsystem.h"
|
||||
#include "wpi/commands2/Requirements.hpp"
|
||||
#include "wpi/commands2/Subsystem.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/CommandPtr.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandPtr.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/Requirements.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/Requirements.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
#include <span>
|
||||
#include <utility>
|
||||
|
||||
#include <frc/Errors.h>
|
||||
#include <frc/Watchdog.h>
|
||||
#include <frc/event/EventLoop.h>
|
||||
#include <units/time.h>
|
||||
#include <wpi/FunctionExtras.h>
|
||||
#include <wpi/sendable/Sendable.h>
|
||||
#include <wpi/sendable/SendableHelper.h>
|
||||
#include "wpi/system/Errors.hpp"
|
||||
#include "wpi/system/Watchdog.hpp"
|
||||
#include "wpi/event/EventLoop.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
#include "wpi/util/FunctionExtras.hpp"
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
#include "wpi/util/sendable/SendableHelper.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
class Command;
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <wpi/deprecated.h>
|
||||
#include "wpi/util/deprecated.hpp"
|
||||
|
||||
#include "frc2/command/CommandPtr.h"
|
||||
#include "frc2/command/Requirements.h"
|
||||
#include "frc2/command/SelectCommand.h"
|
||||
#include "wpi/commands2/CommandPtr.hpp"
|
||||
#include "wpi/commands2/Requirements.hpp"
|
||||
#include "wpi/commands2/SelectCommand.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
class Subsystem;
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <wpi/FunctionExtras.h>
|
||||
#include "wpi/util/FunctionExtras.hpp"
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "frc2/command/Requirements.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/commands2/Requirements.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "frc2/command/Requirements.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/commands2/Requirements.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "frc2/command/FunctionalCommand.h"
|
||||
#include "frc2/command/Requirements.h"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/commands2/FunctionalCommand.hpp"
|
||||
#include "wpi/commands2/Requirements.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include <frc/Notifier.h>
|
||||
#include <units/time.h>
|
||||
#include "wpi/system/Notifier.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "frc2/command/Requirements.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/commands2/Requirements.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <wpi/DecayedDerivedFrom.h>
|
||||
#include "wpi/util/DecayedDerivedFrom.hpp"
|
||||
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <wpi/DecayedDerivedFrom.h>
|
||||
#include "wpi/util/DecayedDerivedFrom.hpp"
|
||||
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <wpi/DecayedDerivedFrom.h>
|
||||
#include "wpi/util/DecayedDerivedFrom.hpp"
|
||||
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
#include <string_view>
|
||||
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "frc2/command/InstantCommand.h"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/commands2/InstantCommand.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <wpi/FunctionExtras.h>
|
||||
#include <wpi/deprecated.h>
|
||||
#include "wpi/util/FunctionExtras.hpp"
|
||||
#include "wpi/util/deprecated.hpp"
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
#include "frc2/command/Subsystem.h"
|
||||
#include "wpi/commands2/Subsystem.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "frc2/command/FunctionalCommand.h"
|
||||
#include "frc2/command/Requirements.h"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/commands2/FunctionalCommand.hpp"
|
||||
#include "wpi/commands2/Requirements.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
|
||||
#include <span>
|
||||
|
||||
#include <wpi/SmallSet.h>
|
||||
#include "wpi/util/SmallSet.hpp"
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <wpi/sendable/SendableBuilder.h>
|
||||
#include "wpi/util/sendable/SendableBuilder.hpp"
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/PrintCommand.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/PrintCommand.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <wpi/DecayedDerivedFrom.h>
|
||||
#include "wpi/util/DecayedDerivedFrom.hpp"
|
||||
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "frc2/command/FunctionalCommand.h"
|
||||
#include "frc2/command/Requirements.h"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/commands2/FunctionalCommand.hpp"
|
||||
#include "wpi/commands2/Requirements.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include <wpi/FunctionExtras.h>
|
||||
#include "wpi/util/FunctionExtras.hpp"
|
||||
|
||||
#include "frc2/command/CommandScheduler.h"
|
||||
#include "wpi/commands2/CommandScheduler.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
class Command;
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
#include <wpi/sendable/Sendable.h>
|
||||
#include <wpi/sendable/SendableHelper.h>
|
||||
#include "wpi/util/sendable/Sendable.hpp"
|
||||
#include "wpi/util/sendable/SendableHelper.hpp"
|
||||
|
||||
#include "frc2/command/Subsystem.h"
|
||||
#include "wpi/commands2/Subsystem.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <frc/Timer.h>
|
||||
#include <units/time.h>
|
||||
#include "wpi/system/Timer.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include <units/time.h>
|
||||
#include "wpi/units/time.hpp"
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/CommandHelper.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#pragma once
|
||||
#include <frc/Gamepad.h>
|
||||
#include "wpi/driverstation/Gamepad.hpp"
|
||||
|
||||
#include "frc2/command/CommandScheduler.h"
|
||||
#include "frc2/command/button/CommandGenericHID.h"
|
||||
#include "frc2/command/button/Trigger.h"
|
||||
#include "wpi/commands2/CommandScheduler.hpp"
|
||||
#include "wpi/commands2/button/CommandGenericHID.hpp"
|
||||
#include "wpi/commands2/button/Trigger.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <frc/DriverStation.h>
|
||||
#include <frc/GenericHID.h>
|
||||
#include "wpi/driverstation/DriverStation.hpp"
|
||||
#include "wpi/driverstation/GenericHID.hpp"
|
||||
|
||||
#include "Trigger.h"
|
||||
#include "frc2/command/CommandScheduler.h"
|
||||
#include "wpi/commands2/button/Trigger.hpp"
|
||||
#include "wpi/commands2/CommandScheduler.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#pragma once
|
||||
#include <frc/Joystick.h>
|
||||
#include "wpi/driverstation/Joystick.hpp"
|
||||
|
||||
#include "Trigger.h"
|
||||
#include "frc2/command/CommandScheduler.h"
|
||||
#include "frc2/command/button/CommandGenericHID.h"
|
||||
#include "wpi/commands2/button/Trigger.hpp"
|
||||
#include "wpi/commands2/CommandScheduler.hpp"
|
||||
#include "wpi/commands2/button/CommandGenericHID.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#pragma once
|
||||
#include <frc/GenericHID.h>
|
||||
#include "wpi/driverstation/GenericHID.hpp"
|
||||
|
||||
#include "Trigger.h"
|
||||
#include "wpi/commands2/button/Trigger.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
#include <memory>
|
||||
#include <string_view>
|
||||
|
||||
#include <networktables/BooleanTopic.h>
|
||||
#include <networktables/NetworkTable.h>
|
||||
#include <networktables/NetworkTableInstance.h>
|
||||
#include "wpi/nt/BooleanTopic.hpp"
|
||||
#include "wpi/nt/NetworkTable.hpp"
|
||||
#include "wpi/nt/NetworkTableInstance.hpp"
|
||||
|
||||
#include "Trigger.h"
|
||||
#include "wpi/commands2/button/Trigger.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <frc/DriverStation.h>
|
||||
#include <frc/GenericHID.h>
|
||||
#include "wpi/driverstation/DriverStation.hpp"
|
||||
#include "wpi/driverstation/GenericHID.hpp"
|
||||
|
||||
#include "Trigger.h"
|
||||
#include "wpi/commands2/button/Trigger.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
/**
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "frc2/command/button/Trigger.h"
|
||||
#include "wpi/commands2/button/Trigger.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
#include <functional>
|
||||
#include <utility>
|
||||
|
||||
#include <frc/event/BooleanEvent.h>
|
||||
#include <frc/event/EventLoop.h>
|
||||
#include <frc/filter/Debouncer.h>
|
||||
#include <units/time.h>
|
||||
#include <wpi/FunctionExtras.h>
|
||||
#include "wpi/event/BooleanEvent.hpp"
|
||||
#include "wpi/event/EventLoop.hpp"
|
||||
#include "wpi/math/filter/Debouncer.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
#include "wpi/util/FunctionExtras.hpp"
|
||||
|
||||
#include "frc2/command/Command.h"
|
||||
#include "frc2/command/CommandScheduler.h"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandScheduler.hpp"
|
||||
|
||||
namespace frc2 {
|
||||
class Command;
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include <frc/Timer.h>
|
||||
#include <frc/sysid/SysIdRoutineLog.h>
|
||||
#include "wpi/system/Timer.hpp"
|
||||
#include "wpi/sysid/SysIdRoutineLog.hpp"
|
||||
|
||||
#include "frc2/command/CommandPtr.h"
|
||||
#include "frc2/command/Subsystem.h"
|
||||
#include "wpi/commands2/CommandPtr.hpp"
|
||||
#include "wpi/commands2/Subsystem.hpp"
|
||||
|
||||
namespace frc2::sysid {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user