Skip to content

Commit

Permalink
add more auto test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Lu-han-wang committed Feb 23, 2024
1 parent 5ae40d0 commit 5d84d86
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/org/jmhsrobotics/frc2024/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

package org.jmhsrobotics.frc2024;

import org.jmhsrobotics.frc2024.autoCommands.FireCommand;
import org.jmhsrobotics.frc2024.autoCommands.TurnAndShootCommand;
import org.jmhsrobotics.frc2024.controlBoard.CompControl;
import org.jmhsrobotics.frc2024.controlBoard.ControlBoard;
Expand All @@ -21,6 +22,7 @@
import org.jmhsrobotics.frc2024.subsystems.intake.commands.IntakeCommand;
import org.jmhsrobotics.frc2024.subsystems.shooter.ShooterSubsystem;
import org.jmhsrobotics.frc2024.subsystems.shooter.commands.ShootOpenLoopCommand;
import org.jmhsrobotics.frc2024.subsystems.shooter.commands.ShooterAutoCommand;
import org.jmhsrobotics.frc2024.subsystems.vision.VisionSubsystem;

import com.pathplanner.lib.auto.AutoBuilder;
Expand Down Expand Up @@ -68,8 +70,16 @@ public RobotContainer() {
// RainbowLEDCommand(this.ledSubsystem));

SmartDashboard.putData("Scheduler", CommandScheduler.getInstance());

// TODO: test these two comamnds individually before test any autos
SmartDashboard.putData("AutoIntakeCommand",
new IntakeCommand(0.5, this.intakeSubsystem, this.shooterSubsystem));
SmartDashboard.putData("AutoShooterCommand", new ShooterAutoCommand(this.shooterSubsystem, 1));

// TODO: test this combo command after two commands above work as intended(lift
// the arm first)
SmartDashboard.putData("FireCommand", new FireCommand(this.intakeSubsystem, this.shooterSubsystem));

// SmartDashboard.putData("LockAprilTagCommand", new LockAprilTag(7,
// this.driveSubsystem, this.visionSubsystem));
// SmartDashboard.putData("ArmCommand", new ArmCommand(0, this.armSubsystem));
Expand Down

0 comments on commit 5d84d86

Please sign in to comment.