SCRIPT: wpiformat

This commit is contained in:
PJ Reiniger
2025-11-07 19:57:55 -05:00
committed by Peter Johnson
parent c48b722dac
commit 1e7604f81c
1218 changed files with 2709 additions and 3267 deletions

View File

@@ -7,13 +7,12 @@
#include <string>
#include <utility>
#include "wpi/commands2/CommandPtr.hpp"
#include "wpi/commands2/CommandScheduler.hpp"
#include "wpi/util/StackTrace.hpp"
#include "wpi/util/sendable/SendableBuilder.hpp"
#include "wpi/util/sendable/SendableRegistry.hpp"
#include "wpi/commands2/CommandPtr.hpp"
#include "wpi/commands2/CommandScheduler.hpp"
using namespace frc2;
Command::Command() {

View File

@@ -8,8 +8,6 @@
#include <utility>
#include <vector>
#include "wpi/system/Errors.hpp"
#include "wpi/commands2/CommandScheduler.hpp"
#include "wpi/commands2/ConditionalCommand.hpp"
#include "wpi/commands2/InstantCommand.hpp"
@@ -22,6 +20,7 @@
#include "wpi/commands2/WaitCommand.hpp"
#include "wpi/commands2/WaitUntilCommand.hpp"
#include "wpi/commands2/WrapperCommand.hpp"
#include "wpi/system/Errors.hpp"
using namespace frc2;

View File

@@ -10,21 +10,20 @@
#include <utility>
#include <vector>
#include "wpi/opmode/RobotBase.hpp"
#include "wpi/opmode/RobotState.hpp"
#include "wpi/opmode/TimedRobot.hpp"
#include "wpi/commands2/CommandPtr.hpp"
#include "wpi/commands2/Subsystem.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/UsageReporting.h"
#include "wpi/nt/IntegerArrayTopic.hpp"
#include "wpi/nt/StringArrayTopic.hpp"
#include "wpi/opmode/RobotBase.hpp"
#include "wpi/opmode/RobotState.hpp"
#include "wpi/opmode/TimedRobot.hpp"
#include "wpi/util/DenseMap.hpp"
#include "wpi/util/SmallVector.hpp"
#include "wpi/util/sendable/SendableBuilder.hpp"
#include "wpi/util/sendable/SendableRegistry.hpp"
#include "wpi/commands2/CommandPtr.hpp"
#include "wpi/commands2/Subsystem.hpp"
using namespace frc2;
class CommandScheduler::Impl {

View File

@@ -7,9 +7,6 @@
#include <utility>
#include <vector>
#include "wpi/util/FunctionExtras.hpp"
#include "wpi/util/deprecated.hpp"
#include "wpi/commands2/ConditionalCommand.hpp"
#include "wpi/commands2/DeferredCommand.hpp"
#include "wpi/commands2/FunctionalCommand.hpp"
@@ -23,6 +20,8 @@
#include "wpi/commands2/SequentialCommandGroup.hpp"
#include "wpi/commands2/WaitCommand.hpp"
#include "wpi/commands2/WaitUntilCommand.hpp"
#include "wpi/util/FunctionExtras.hpp"
#include "wpi/util/deprecated.hpp"
using namespace frc2;

View File

@@ -6,9 +6,8 @@
#include <utility>
#include "wpi/util/sendable/SendableBuilder.hpp"
#include "wpi/commands2/Commands.hpp"
#include "wpi/util/sendable/SendableBuilder.hpp"
using namespace frc2;

View File

@@ -4,10 +4,11 @@
#include "wpi/commands2/ProxyCommand.hpp"
#include <fmt/format.h>
#include <string>
#include <utility>
#include <fmt/format.h>
#include "wpi/util/deprecated.hpp"
#include "wpi/util/sendable/SendableBuilder.hpp"

View File

@@ -7,10 +7,9 @@
#include <string>
#include <utility>
#include "wpi/util/Demangle.hpp"
#include "wpi/commands2/CommandPtr.hpp"
#include "wpi/commands2/Commands.hpp"
#include "wpi/util/Demangle.hpp"
using namespace frc2;
Subsystem::~Subsystem() {

View File

@@ -6,11 +6,10 @@
#include <string>
#include "wpi/util/sendable/SendableBuilder.hpp"
#include "wpi/util/sendable/SendableRegistry.hpp"
#include "wpi/commands2/Command.hpp"
#include "wpi/commands2/CommandScheduler.hpp"
#include "wpi/util/sendable/SendableBuilder.hpp"
#include "wpi/util/sendable/SendableRegistry.hpp"
using namespace frc2;

View File

@@ -5,6 +5,7 @@
#include "wpi/commands2/WaitCommand.hpp"
#include <fmt/format.h>
#include "wpi/util/sendable/SendableBuilder.hpp"
using namespace frc2;

View File

@@ -6,9 +6,8 @@
#include <utility>
#include "wpi/math/filter/Debouncer.hpp"
#include "wpi/commands2/CommandPtr.hpp"
#include "wpi/math/filter/Debouncer.hpp"
using namespace frc;
using namespace frc2;