From 9f5c1026716953107ef03283fbd6c5a0d34c281b Mon Sep 17 00:00:00 2001 From: Aarav Shah Date: Fri, 5 Mar 2021 15:08:49 -0700 Subject: [PATCH] Updated game, stopped shooter idle, PATHWEAVER working --- PathWeaver/pathweaver.json | 2 +- src/main/java/frc4388/robot/RobotContainer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PathWeaver/pathweaver.json b/PathWeaver/pathweaver.json index 1e8293c..a61f1e9 100644 --- a/PathWeaver/pathweaver.json +++ b/PathWeaver/pathweaver.json @@ -4,6 +4,6 @@ "maxVelocity": 2.3, "maxAcceleration": 2.7, "wheelBase": 0.648, - "gameName": "Bounce Path", + "gameName": "Barrel Racing Path", "outputDir": ".." } \ No newline at end of file diff --git a/src/main/java/frc4388/robot/RobotContainer.java b/src/main/java/frc4388/robot/RobotContainer.java index d47003c..293d4b3 100644 --- a/src/main/java/frc4388/robot/RobotContainer.java +++ b/src/main/java/frc4388/robot/RobotContainer.java @@ -165,7 +165,7 @@ public class RobotContainer { // runs the turret with joystick m_robotShooterAim.setDefaultCommand(new RunCommand(() -> m_robotShooterAim.runShooterWithInput(-m_operatorXbox.getLeftXAxis()), m_robotShooterAim)); // moves the drum not - m_robotShooter.setDefaultCommand(new RunCommand(() -> m_robotShooter.runDrumShooterVelocityPID(1500), m_robotShooter)); + m_robotShooter.setDefaultCommand(new RunCommand(() -> m_robotShooter.runDrumShooterVelocityPID(0), m_robotShooter)); // drives climber with input from triggers on the opperator controller m_robotClimber.setDefaultCommand(new RunClimberWithTriggers(m_robotClimber, getDriverController())); // drives the leveler with an axis input from the driver controller