Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Commit

Permalink
Automated formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 26, 2024
1 parent 2d2ceaa commit f3c1697
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/main/Choreo autobuilder.chor
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
},
"splitTrajectoriesAtStopPoints": true,
"usesObstacles": true
}
}
6 changes: 1 addition & 5 deletions src/main/cpp/RobotContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,7 @@ RobotContainer::RobotContainer()
// &m_autoSourceSideSubwoofer3PieceSteal,
&m_autoChoreoTest},
&m_autoNothing}
, m_autoSummer{m_intakeSubsystem,
m_ShooterSubSystem,
m_elevatorSubsystem,
m_climberSubsystem,
m_swerveDrive}
, m_autoSummer{m_intakeSubsystem, m_ShooterSubSystem, m_elevatorSubsystem, m_climberSubsystem, m_swerveDrive}
, m_transitionedFromAuto{false} {
// Initialize all of your commands and subsystems here

Expand Down
23 changes: 11 additions & 12 deletions src/main/cpp/commands/autonomous/autonomous_summer_activity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,17 @@

#include "commands/drive_choreo.h"

AutonomousSummerActivty::AutonomousSummerActivty(
IntakeSubsystem& intake,
ShooterSubsystem& shooter,
ElevatorSubsystem& elevator,
ClimberSubsystem& climb,
SwerveDriveSubsystem& swerve)
: m_Intake{intake},
m_Shooter{shooter},
m_Elevator{elevator},
m_Climb{climb},
m_Swerve{swerve},
m_commands{frc2::SequentialCommandGroup{DriveChoreo{m_Swerve, "Any_0Note", true}}} {}
AutonomousSummerActivty::AutonomousSummerActivty(IntakeSubsystem& intake,
ShooterSubsystem& shooter,
ElevatorSubsystem& elevator,
ClimberSubsystem& climb,
SwerveDriveSubsystem& swerve)
: m_Intake{intake}
, m_Shooter{shooter}
, m_Elevator{elevator}
, m_Climb{climb}
, m_Swerve{swerve}
, m_commands{frc2::SequentialCommandGroup{DriveChoreo{m_Swerve, "Any_0Note", true}}} {}

// Called when the command is initially scheduled.
void AutonomousSummerActivty::Initialize() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/include/RobotContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
#include "commands/autonomous/autonomous_source_side_subwoofer_4_piece.h"
#include "commands/autonomous/autonomous_source_side_subwoofer_5_piece.h"
#include "commands/autonomous/autonomous_source_side_subwoofer_steal2.h"
#include "commands/autonomous/autonomous_zero_note.h"
#include "commands/autonomous/autonomous_summer_activity.h"
#include "commands/autonomous/autonomous_zero_note.h"
#include "commands/climber_command.h"
#include "commands/climber_homing_command.h"
#include "commands/crossfield_shot_command.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
#include <string>

#include "commands/autonomous/autonomous_command.h"
#include "subsystems/swerve_drive_subsystem.h"
#include "subsystems/climber_subsystem.h"
#include "subsystems/elevator_subsystem.h"
#include "subsystems/intake_subsystem.h"
#include "subsystems/shooter_subsystem.h"
#include "subsystems/swerve_drive_subsystem.h"

class AutonomousSummerActivty
: public frc2::CommandHelper<frc2::Command, AutonomousSummerActivty>
Expand Down

0 comments on commit f3c1697

Please sign in to comment.