mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
c48b722dac
commit
1e7604f81c
@@ -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() {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "wpi/commands2/WaitCommand.hpp"
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "wpi/util/sendable/SendableBuilder.hpp"
|
||||
|
||||
using namespace frc2;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user