Skip to content

Commit d781c69

Browse files
committed
Cargo solenoid added
1 parent 810b5bc commit d781c69

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

src/main/java/frc/team2767/deepspace/command/sequences/pickup/CoconutPickupCommandGroup.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ public CoconutPickupCommandGroup() {
2626
new CommandGroup() {
2727
{
2828
addSequential(
29-
new SetSolenoidStatesCommand(
30-
VacuumSubsystem.SolenoidStates.CARGO_PICKUP));
29+
new SetSolenoidStatesCommand(VacuumSubsystem.SolenoidStates.CARGO_PICKUP));
3130
addSequential(new PressureSetCommand(VacuumSubsystem.kBallPressureInHg), 0.5);
3231
}
3332
});

src/main/java/frc/team2767/deepspace/command/sequences/pickup/SandstormHatchPickupCommandGroup.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ public SandstormHatchPickupCommandGroup() {
2525
new CommandGroup() {
2626
{
2727
addParallel(new PressureSetCommand(VacuumSubsystem.kHatchPressureInHg), 0.05);
28-
addParallel(
29-
new SetSolenoidStatesCommand(VacuumSubsystem.SolenoidStates.HATCH_PICKUP));
28+
addParallel(new SetSolenoidStatesCommand(VacuumSubsystem.SolenoidStates.HATCH_PICKUP));
3029
addParallel(new SetActionCommand(Action.PLACE));
3130
addParallel(new SetGamePieceCommand(GamePiece.HATCH));
3231
addParallel(new SetFieldDirectionCommand(FieldDirection.LEFT));

src/main/java/frc/team2767/deepspace/control/SmartDashboardControls.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,7 @@ private void addTestCommands() {
235235
private void addVacuumCommands() {
236236
SmartDashboard.putData("Vacuum/cool", new VacuumCooldownCommandGroup());
237237
SmartDashboard.putData(
238-
"Pit/GamePiece",
239-
new SetSolenoidStatesCommand(VacuumSubsystem.SolenoidStates.HATCH_PICKUP));
238+
"Pit/GamePiece", new SetSolenoidStatesCommand(VacuumSubsystem.SolenoidStates.HATCH_PICKUP));
240239
SmartDashboard.putData(
241240
"Pit/PressureAccumulate",
242241
new SetSolenoidStatesCommand(VacuumSubsystem.SolenoidStates.PRESSURE_ACCUMULATE));

src/main/java/frc/team2767/deepspace/subsystem/VacuumSubsystem.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ public Solenoid getClimbSolenoid() {
132132
return climbSolenoid;
133133
}
134134

135-
public Solenoid getCargoSolenoid() { return cargoSolenoid; }
135+
public Solenoid getCargoSolenoid() {
136+
return cargoSolenoid;
137+
}
136138

137139
public void setSolenoidsState(SolenoidStates state) {
138140
switch (state) {

0 commit comments

Comments
 (0)