Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
r4stered committed Nov 13, 2024
1 parent 02deed9 commit e5d3105
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion elastic-layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,4 @@
}
}
]
}
}
2 changes: 2 additions & 0 deletions src/main/cpp/str/swerve/SwerveDrive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include <frc/DataLogManager.h>
#include <frc/DriverStation.h>

#include <vector>

#include "constants/SwerveConstants.h"
#include "ctre/phoenix/StatusCodes.h"
#include "frc/Alert.h"
Expand Down
9 changes: 5 additions & 4 deletions src/main/cpp/subsystems/Drive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@

#include "subsystems/Drive.h"

#include <frc/DataLogManager.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include <pathplanner/lib/auto/AutoBuilder.h>
#include <pathplanner/lib/util/PathPlannerLogging.h>

#include <memory>
#include <string>

#include "constants/SwerveConstants.h"
Expand All @@ -14,11 +18,8 @@
#include "frc2/command/CommandPtr.h"
#include "frc2/command/Commands.h"
#include "pathplanner/lib/util/DriveFeedforwards.h"
#include "str/swerve/SwerveModuleHelpers.h"
#include "str/DriverstationUtils.h"
#include <pathplanner/lib/util/PathPlannerLogging.h>
#include <pathplanner/lib/auto/AutoBuilder.h>
#include <frc/DataLogManager.h>
#include "str/swerve/SwerveModuleHelpers.h"

Drive::Drive() {
SetupPathplanner();
Expand Down
3 changes: 2 additions & 1 deletion src/main/include/Autos.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <frc2/command/Commands.h>
#include <pathplanner/lib/auto/NamedCommands.h>
#include <pathplanner/lib/commands/PathPlannerAuto.h>

#include "subsystems/Drive.h"

class Autos {
Expand Down Expand Up @@ -42,4 +43,4 @@ class Autos {
Drive& m_driveSub;

frc2::CommandPtr selectCommand{frc2::cmd::None()};
};
};
2 changes: 1 addition & 1 deletion src/main/include/RobotContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
#include <functional>
#include <memory>

#include "Autos.h"
#include "str/vision/VisionSystem.h"
#include "subsystems/Drive.h"
#include "Autos.h"

class RobotContainer {
public:
Expand Down
2 changes: 1 addition & 1 deletion src/main/include/str/swerve/SwerveDrive.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
#include <networktables/StructTopic.h>

#include <memory>
#include <vector>

#include <ctre/phoenix6/Pigeon2.hpp>
#include <vector>

#include "constants/SwerveConstants.h"
#include "frc/Alert.h"
Expand Down
3 changes: 2 additions & 1 deletion src/main/include/subsystems/Drive.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@

#include <frc2/command/SubsystemBase.h>
#include <frc2/command/sysid/SysIdRoutine.h>
#include <pathplanner/lib/controllers/PPHolonomicDriveController.h>

#include <functional>
#include <memory>

#include "ctre/phoenix6/SignalLogger.hpp"
#include "frc/geometry/Pose2d.h"
Expand All @@ -17,7 +19,6 @@
#include "units/current.h"
#include "units/time.h"
#include "units/velocity.h"
#include <pathplanner/lib/controllers/PPHolonomicDriveController.h>

class Drive : public frc2::SubsystemBase {
public:
Expand Down

0 comments on commit e5d3105

Please sign in to comment.