Skip to content

Commit

Permalink
[#29] fix erroring autons
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilok1 committed Mar 9, 2024
1 parent 2b3cdea commit 137aa48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 85 deletions.
63 changes: 0 additions & 63 deletions src/main/deploy/pathplanner/autos/1-BF-Mobility.auto

This file was deleted.

19 changes: 0 additions & 19 deletions src/main/deploy/pathplanner/paths/BL-F5.path
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,25 @@
"waypoints": [
{
"anchor": {
<<<<<<<< HEAD:src/main/deploy/pathplanner/paths/Amp autoalign.path
"x": 1.85,
"y": 6.5
},
"prevControl": null,
"nextControl": {
"x": 1.85,
"y": 6.550000000000001
========
"x": 5.85285555186495,
"y": 1.1445653660538107
},
"prevControl": null,
"nextControl": {
"x": 6.94693201083977,
"y": 1.0773969622118975
>>>>>>>> main:src/main/deploy/pathplanner/paths/BL-F5.path
},
"isLocked": false,
"linkedName": "BottomLine"
},
{
"anchor": {
<<<<<<<< HEAD:src/main/deploy/pathplanner/paths/Amp autoalign.path
"x": 1.85,
"y": 7.5
},
"prevControl": {
"x": 1.85,
"y": 7.45
========
"x": 8.293678213604645,
"y": 0.77
},
"prevControl": {
"x": 6.94693201083977,
"y": 1.0305536160287727
>>>>>>>> main:src/main/deploy/pathplanner/paths/BL-F5.path
},
"nextControl": null,
"isLocked": false,
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ protected void configureButtonBindings() {
// new Trigger(driver::getXButton).whileTrue(new InstantCommand(() -> drivetrain.brake()));

// smart shoot for the robot
new Trigger(driver::getAButton)
.whileTrue(new SmartShoot(flywheel, pivot, drivetrain, indexer, leds)
.deadlineWith(leds.enableState(LED_STATES.SHOOTING)));
// new Trigger(driver::getAButton)
// .whileTrue(new SmartShoot(flywheel, pivot, drivetrain, indexer, leds)
// .deadlineWith(leds.enableState(LED_STATES.SHOOTING)));

// aim at amp and stage tags for the robot
new Trigger(driver::getXButton)
Expand Down

0 comments on commit 137aa48

Please sign in to comment.