Skip to content

Commit

Permalink
[#3] Testy
Browse files Browse the repository at this point in the history
  • Loading branch information
MattD8957 committed Oct 15, 2023
1 parent 7f3b5c4 commit be2202e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.InstantCommand;
import edu.wpi.first.wpilibj2.command.button.Trigger;
import frc.lib.auto.Autonomous;
import frc.lib.auto.AutonomousCommandFactory;
import frc.lib.pathplanner.com.pathplanner.lib.PathConstraints;
import frc.lib.pathplanner.com.pathplanner.lib.PathPoint;
Expand Down Expand Up @@ -58,7 +59,7 @@ private void configureAutonomousCommands(){
new PathConstraints(AutonomousConstants.MAX_VELOCITY, AutonomousConstants.MAX_ACCELERATION));
autoFactory.makeTrajectory("Square", new HashMap<>(),
new PathConstraints(AutonomousConstants.MAX_VELOCITY, AutonomousConstants.MAX_ACCELERATION));

Autonomous.register("FORCE", new InstantCommand(() -> drivetrain.drive(new Translation2d(0, 0), 0, true, false)));
}

protected AutonomousCommandFactory getCommandFactory(){
Expand Down

0 comments on commit be2202e

Please sign in to comment.