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
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/opmode/TimedRobot.hpp"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include <wpi/commands2/Command.hpp>
|
||||
#include <wpi/opmode/TimedRobot.hpp>
|
||||
|
||||
#include "RobotContainer.hpp"
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/driverstation/Joystick.hpp"
|
||||
#include "wpi/smartdashboard/SendableChooser.hpp"
|
||||
#include "wpi/xrp/XRPOnBoardIO.hpp"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandPtr.hpp"
|
||||
#include "wpi/commands2/button/Trigger.hpp"
|
||||
#include <wpi/commands2/Command.hpp>
|
||||
#include <wpi/commands2/CommandPtr.hpp>
|
||||
#include <wpi/commands2/button/Trigger.hpp>
|
||||
#include <wpi/driverstation/Joystick.hpp>
|
||||
#include <wpi/smartdashboard/SendableChooser.hpp>
|
||||
#include <wpi/xrp/XRPOnBoardIO.hpp>
|
||||
|
||||
#include "Constants.hpp"
|
||||
#include "commands/AutonomousDistance.hpp"
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/commands2/SequentialCommandGroup.hpp"
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
#include <wpi/commands2/SequentialCommandGroup.hpp>
|
||||
|
||||
#include "commands/DriveDistance.hpp"
|
||||
#include "commands/TurnDegrees.hpp"
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/commands2/SequentialCommandGroup.hpp"
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
#include <wpi/commands2/SequentialCommandGroup.hpp>
|
||||
|
||||
#include "commands/DriveTime.hpp"
|
||||
#include "commands/TurnTime.hpp"
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/units/length.hpp"
|
||||
#include <wpi/commands2/Command.hpp>
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
#include <wpi/units/length.hpp>
|
||||
|
||||
#include "subsystems/Drivetrain.hpp"
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/system/Timer.hpp"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
#include <wpi/commands2/Command.hpp>
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
#include <wpi/system/Timer.hpp>
|
||||
#include <wpi/units/time.hpp>
|
||||
|
||||
#include "subsystems/Drivetrain.hpp"
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include <wpi/commands2/Command.hpp>
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
|
||||
#include "subsystems/Drivetrain.hpp"
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/units/angle.hpp"
|
||||
#include "wpi/units/length.hpp"
|
||||
#include <wpi/commands2/Command.hpp>
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
#include <wpi/units/angle.hpp>
|
||||
#include <wpi/units/length.hpp>
|
||||
|
||||
#include "subsystems/Drivetrain.hpp"
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/system/Timer.hpp"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
#include <wpi/commands2/Command.hpp>
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
#include <wpi/system/Timer.hpp>
|
||||
#include <wpi/units/time.hpp>
|
||||
|
||||
#include "subsystems/Drivetrain.hpp"
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/xrp/XRPServo.hpp"
|
||||
#include "wpi/commands2/SubsystemBase.hpp"
|
||||
#include "wpi/units/angle.hpp"
|
||||
#include <wpi/commands2/SubsystemBase.hpp>
|
||||
#include <wpi/units/angle.hpp>
|
||||
#include <wpi/xrp/XRPServo.hpp>
|
||||
|
||||
class Arm : public frc2::SubsystemBase {
|
||||
public:
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hardware/rotation/Encoder.hpp"
|
||||
#include "wpi/drive/DifferentialDrive.hpp"
|
||||
#include "wpi/xrp/XRPGyro.hpp"
|
||||
#include "wpi/xrp/XRPMotor.hpp"
|
||||
#include "wpi/commands2/SubsystemBase.hpp"
|
||||
#include "wpi/units/acceleration.hpp"
|
||||
#include "wpi/units/angle.hpp"
|
||||
#include "wpi/units/length.hpp"
|
||||
#include <wpi/commands2/SubsystemBase.hpp>
|
||||
#include <wpi/drive/DifferentialDrive.hpp>
|
||||
#include <wpi/hardware/rotation/Encoder.hpp>
|
||||
#include <wpi/units/acceleration.hpp>
|
||||
#include <wpi/units/angle.hpp>
|
||||
#include <wpi/units/length.hpp>
|
||||
#include <wpi/xrp/XRPGyro.hpp>
|
||||
#include <wpi/xrp/XRPMotor.hpp>
|
||||
|
||||
class Drivetrain : public frc2::SubsystemBase {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user