Skip to content

Commit

Permalink
perhaps
Browse files Browse the repository at this point in the history
  • Loading branch information
Anhysteretic committed Nov 20, 2024
1 parent 52644aa commit 39fde36
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/main/java/com/team841/calliope/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,22 @@ public RobotContainer() {
this.sticksPS5[0] = new CommandPS5Controller(RC.Controllers.duoStickDrive);
this.sticksXbox[0] = new CommandXboxController(RC.Controllers.duoStickCoDrive);

this.bioDrive = new BioDrive(
/*this.bioDrive = new BioDrive(
this.drivetrain,
() -> -sticksPS5[0].getLeftY() * Swerve.MaxSpeed,
() -> -sticksPS5[0].getLeftX() * Swerve.MaxSpeed,
() -> -sticksPS5[0].getRightX() * Swerve.MaxAngularRate,
() -> sticksPS5[0].L2().getAsBoolean());
*/

this.bioDrive = new BioDrive(
this.drivetrain,
() -> -sticksXbox[0].getLeftY() * Swerve.MaxSpeed,
() -> -sticksXbox[0].getLeftX() * Swerve.MaxSpeed,
() -> -sticksXbox[0].getRightX() * Swerve.MaxAngularRate,
() -> sticksXbox[0].a().getAsBoolean());

this.feedback = new Feedback(this.sticksXbox[0]);

this.shootCommand = new Shoot(this.indexer, this.shooter);
Expand All @@ -140,7 +149,7 @@ public RobotContainer() {

this.drivetrain.setDefaultCommand(bioDrive);

configureDuoStick();
configureSoloStick();
}


Expand Down

0 comments on commit 39fde36

Please sign in to comment.