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
@@ -6,13 +6,13 @@
|
||||
|
||||
#include <numbers>
|
||||
|
||||
#include "wpi/units/acceleration.hpp"
|
||||
#include "wpi/units/angle.hpp"
|
||||
#include "wpi/units/length.hpp"
|
||||
#include "wpi/units/mass.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
#include "wpi/units/velocity.hpp"
|
||||
#include "wpi/units/voltage.hpp"
|
||||
#include <wpi/units/acceleration.hpp>
|
||||
#include <wpi/units/angle.hpp>
|
||||
#include <wpi/units/length.hpp>
|
||||
#include <wpi/units/mass.hpp>
|
||||
#include <wpi/units/time.hpp>
|
||||
#include <wpi/units/velocity.hpp>
|
||||
#include <wpi/units/voltage.hpp>
|
||||
|
||||
/**
|
||||
* The Constants header provides a convenient place for teams to hold robot-wide
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/driverstation/Joystick.hpp"
|
||||
#include "wpi/opmode/TimedRobot.hpp"
|
||||
#include <wpi/driverstation/Joystick.hpp>
|
||||
#include <wpi/opmode/TimedRobot.hpp>
|
||||
|
||||
#include "subsystems/Elevator.hpp"
|
||||
|
||||
|
||||
@@ -4,20 +4,20 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hardware/rotation/Encoder.hpp"
|
||||
#include "wpi/math/controller/ElevatorFeedforward.hpp"
|
||||
#include "wpi/math/controller/PIDController.hpp"
|
||||
#include "wpi/math/controller/ProfiledPIDController.hpp"
|
||||
#include "wpi/hardware/motor/PWMSparkMax.hpp"
|
||||
#include "wpi/simulation/BatterySim.hpp"
|
||||
#include "wpi/simulation/ElevatorSim.hpp"
|
||||
#include "wpi/simulation/EncoderSim.hpp"
|
||||
#include "wpi/simulation/PWMMotorControllerSim.hpp"
|
||||
#include "wpi/simulation/RoboRioSim.hpp"
|
||||
#include "wpi/smartdashboard/Mechanism2d.hpp"
|
||||
#include "wpi/smartdashboard/MechanismLigament2d.hpp"
|
||||
#include "wpi/smartdashboard/MechanismRoot2d.hpp"
|
||||
#include "wpi/units/length.hpp"
|
||||
#include <wpi/hardware/motor/PWMSparkMax.hpp>
|
||||
#include <wpi/hardware/rotation/Encoder.hpp>
|
||||
#include <wpi/math/controller/ElevatorFeedforward.hpp>
|
||||
#include <wpi/math/controller/PIDController.hpp>
|
||||
#include <wpi/math/controller/ProfiledPIDController.hpp>
|
||||
#include <wpi/simulation/BatterySim.hpp>
|
||||
#include <wpi/simulation/ElevatorSim.hpp>
|
||||
#include <wpi/simulation/EncoderSim.hpp>
|
||||
#include <wpi/simulation/PWMMotorControllerSim.hpp>
|
||||
#include <wpi/simulation/RoboRioSim.hpp>
|
||||
#include <wpi/smartdashboard/Mechanism2d.hpp>
|
||||
#include <wpi/smartdashboard/MechanismLigament2d.hpp>
|
||||
#include <wpi/smartdashboard/MechanismRoot2d.hpp>
|
||||
#include <wpi/units/length.hpp>
|
||||
|
||||
#include "Constants.hpp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user